[dovecot-cvs] dovecot dovecot-example.conf,1.35,1.36

cras at procontrol.fi cras at procontrol.fi
Mon Jan 27 03:33:42 EET 2003


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv22317

Modified Files:
	dovecot-example.conf 
Log Message:
We have now separate "userdb" and "passdb". They aren't tied to each others
in any way, so it's possible to use whatever user database with whatever
password database.

Added "static" userdb, which uses same uid/gid for everyone and generates
home directory from given template. This could be useful with PAM, although
insecure since everyone uses same uid.

Not too well tested, and userdb/passdb API still needs to be changed to
asynchronous for sql/ldap/etc lookups.



Index: dovecot-example.conf
===================================================================
RCS file: /home/cvs/dovecot/dovecot-example.conf,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- dovecot-example.conf	21 Jan 2003 07:42:33 -0000	1.35
+++ dovecot-example.conf	27 Jan 2003 01:33:40 -0000	1.36
@@ -271,9 +271,9 @@
 # Authentication process name.
 auth = default
 
-# Authentication methods this process allows separated with a space.
-# Currently supported: plain digest-md5
-auth_methods = plain
+# Space separated list of wanted authentication mechanisms:
+#   plain digest-md5
+auth_mechanisms = plain
 
 # Space separated list of realms with authentication methods that need them.
 # This is usually empty or the host name of the server (eg.
@@ -284,14 +284,20 @@
 #    need to add more realms, add them to end of the list.
 #auth_realms =
 
-# Where the user information and passwords are stored into:
+# Where user database is kept:
+#   passwd: /etc/passwd or similiar, using getpwnam()
+#   passwd-file <path>: passwd-like file with specified location
+#   static uid=<uid> gid=<gid> home=<dir template>: static settings
+#   vpopmail: vpopmail library
+auth_userdb = passwd
+
+# Where password database is kept:
 #   passwd: /etc/passwd or similiar, using getpwnam()
 #   shadow: /etc/shadow or similiar, using getspnam()
 #   pam: PAM authentication
-#   passwd-file /etc/passwd.imap: /etc/passwd-like file. Supports digest-md5
-#                                 style passwords
+#   passwd-file <path>: passwd-like file with specified location
 #   vpopmail: vpopmail authentication
-auth_userinfo = pam
+auth_passdb = pam
 
 # Executable location
 #auth_executable = /usr/libexec/dovecot/imap-auth
@@ -322,7 +328,8 @@
 #auth = digest_md5
 #auth_methods = digest-md5
 #auth_realms = 
-#auth_userinfo = passwd-file /etc/passwd.imap
+#auth_userdb = passwd-file /etc/passwd.imap
+#auth_passdb = passwd-file /etc/passwd.imap
 #auth_user = imapauth
 #auth_chroot = /var/run/dovecot/auth
 




More information about the dovecot-cvs mailing list