changeset 4623:b09e8ca4b142 HEAD

More explanation of the "user" field in pass_query.
author Timo Sirainen <tss@iki.fi>
date Wed, 20 Sep 2006 00:16:53 +0300
parents 1febe4a45c36
children 5beb1fe35e52
files doc/dovecot-sql.conf
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/dovecot-sql.conf	Mon Sep 18 02:20:30 2006 +0300
+++ b/doc/dovecot-sql.conf	Wed Sep 20 00:16:53 2006 +0300
@@ -60,10 +60,14 @@
 
 # Query to retrieve the password.
 #
-# This query must return only one row with "user" and "password" columns. The
-# "user" column is needed to make sure the username gets used with exactly the
-# same casing as it's in database. The query can also return other fields
-# which have a special meaning, see http://wiki.dovecot.org/AuthSpecials
+# This query must return only one row with "user" and "password" columns.
+# The query can also return other fields which have a special meaning, see
+# http://wiki.dovecot.org/AuthSpecials
+#
+# The "user" column is needed to make sure the username gets used with exactly
+# the same casing as it's in the database. Note that if you store username and
+# domain in separate fields, you most likely want to return a combination of
+# them as the "user" column, otherwise the domain gets stripped.
 #
 # Commonly used available substitutions (see
 # http://wiki.dovecot.org/Variables for full list):