dovecot-2.0: example-config: Added userdb static to auth-ldap|sq...

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 8 18:37:50 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/97216501ba6b
changeset: 10862:97216501ba6b
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 08 18:37:45 2010 +0200
description:
example-config: Added userdb static to auth-ldap|sql.conf.ext.

diffstat:

 doc/example-config/conf.d/auth-ldap.conf.ext |  8 ++++++++
 doc/example-config/conf.d/auth-sql.conf.ext  |  8 ++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)

diffs (30 lines):

diff -r 5be757538f8a -r 97216501ba6b doc/example-config/conf.d/auth-ldap.conf.ext
--- a/doc/example-config/conf.d/auth-ldap.conf.ext	Mon Mar 08 17:29:18 2010 +0200
+++ b/doc/example-config/conf.d/auth-ldap.conf.ext	Mon Mar 08 18:37:45 2010 +0200
@@ -20,3 +20,11 @@
   driver = ldap
   args = /etc/dovecot/dovecot-ldap.conf.ext
 }
+
+# If you don't have any user-specific settings, you can avoid the userdb LDAP
+# lookup by using userdb static instead of userdb ldap, for example:
+# <doc/wiki/UserDatabase.Static.txt>
+#userdb {
+  #driver = static
+  #args = uid=vmail gid=vmail home=/var/vmail/%u
+#}
diff -r 5be757538f8a -r 97216501ba6b doc/example-config/conf.d/auth-sql.conf.ext
--- a/doc/example-config/conf.d/auth-sql.conf.ext	Mon Mar 08 17:29:18 2010 +0200
+++ b/doc/example-config/conf.d/auth-sql.conf.ext	Mon Mar 08 18:37:45 2010 +0200
@@ -20,3 +20,11 @@
   driver = sql
   args = /etc/dovecot/dovecot-sql.conf.ext
 }
+
+# If you don't have any user-specific settings, you can avoid the user_query
+# by using userdb static instead of userdb sql, for example:
+# <doc/wiki/UserDatabase.Static.txt>
+#userdb {
+  #driver = static
+  #args = uid=vmail gid=vmail home=/var/vmail/%u
+#}


More information about the dovecot-cvs mailing list