dovecot: Changed default pass_attrs and user_attrs to use the ne...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jul 25 09:21:42 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/45a12a1bd299
changeset: 6147:45a12a1bd299
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jul 25 09:04:40 2007 +0300
description:
Changed default pass_attrs and user_attrs to use the new format.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/auth/db-ldap.c |    4 ++--

diffs (15 lines):

diff -r bc5fdab698e3 -r 45a12a1bd299 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c	Wed Jul 25 09:03:58 2007 +0300
+++ b/src/auth/db-ldap.c	Wed Jul 25 09:04:40 2007 +0300
@@ -103,9 +103,9 @@ struct ldap_settings default_ldap_settin
 	MEMBER(scope) "subtree",
 	MEMBER(base) NULL,
 	MEMBER(ldap_version) 2,
-	MEMBER(user_attrs) "uid,homeDirectory,,,uidNumber,gidNumber",
+	MEMBER(user_attrs) "homeDirectory=home,uidNumber=uid,gidNumber=gid",
 	MEMBER(user_filter) "(&(objectClass=posixAccount)(uid=%u))",
-	MEMBER(pass_attrs) "uid,userPassword",
+	MEMBER(pass_attrs) "uid=user,userPassword=password",
 	MEMBER(pass_filter) "(&(objectClass=posixAccount)(uid=%u))",
 	MEMBER(default_pass_scheme) "crypt"
 };


More information about the dovecot-cvs mailing list