]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Added userdb static to auth-ldap|sql.conf.ext.
authorTimo Sirainen <tss@iki.fi>
Mon, 8 Mar 2010 16:37:45 +0000 (18:37 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 8 Mar 2010 16:37:45 +0000 (18:37 +0200)
--HG--
branch : HEAD

doc/example-config/conf.d/auth-ldap.conf.ext
doc/example-config/conf.d/auth-sql.conf.ext

index a4f3334389e799b1136da4687e4745a19065432b..c58528016332109632ca6079260e1b6c5a3e5a76 100644 (file)
@@ -20,3 +20,11 @@ userdb {
   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
+#}
index 9d69fb8e2fa04cdd5b55b91208cf2da6e6506902..9ba585b5901b26f13078d504eb5899d276ecf2a5 100644 (file)
@@ -20,3 +20,11 @@ userdb {
   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
+#}