?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Password database extra fields
==============================
The primary purpose of a password database lookup is to return the password for
a given user. It may however also return other fields which are treated
specially:
* [PasswordDatabase.ExtraFields.User.txt]: Change the username (eg.
lowercase it).
* [PasswordDatabase.ExtraFields.AllowNets.txt]: Allow user to log
in from only specified IPs.
* [PasswordDatabase.ExtraFields.Proxy.txt]: Proxy the
connection to another IMAP/POP3 server.
* [PasswordDatabase.ExtraFields.Host.txt]: Send login referral to
client.
* [PasswordDatabase.ExtraFields.NoLogin.txt]: User isn't actually
allowed to log in even if the password matches, with optionally a different
reason given as the authentication failure message.
* [PasswordDatabase.ExtraFields.NoDelay.txt]: Don't delay reply to
client in case of an authentication failure.
* nopassword: If you want to allow all passwords, use an empty password and
this field.
How to return these extra fields depends on the password database you use. See
the [PasswordDatabase.txt] pages on how to do it. Some
passdbs however don't support returning them at all, such as
[PasswordDatabase.PAM.txt].
The password database may also return fields prefixed with 'userdb_'. These
fields are only saved and used later as if they came from the
[UserDatabase.txt]'s extra fields. Typically this is done only when using
[UserDatabase.Prefetch.txt].
Note that boolean fields are true always if the field exists. So 'nodelay',
'nodelay=yes', 'nodelay=no' and 'nodelay=0' all mean that the nodelay field is
true. With SQL the field is considered to be non-existent if its value is NULL.
Examples
--------
SQL
---
dovecot-sql.conf.ext:
---%<-------------------------------------------------------------------------
password_query = SELECT userid as user, password, 'Y' as proxy, host \
FROM users WHERE userid = '%u'
---%<-------------------------------------------------------------------------
LDAP
----
dovecot-ldap.conf
format is =,=,...
---%<-------------------------------------------------------------------------
pass_attrs=uid=user, userPassword=password, someAttribute=proxy, hostName=host
---%<-------------------------------------------------------------------------
Note about the "proxy" or "proxy_maybe" fields: these represent an existence
test.
In LDAP, this translates to "will proxy (or proxy_maybe) if this attribute
exists". This allows the proxy behaviour to be selectable per user. To have
it "always" on, use a template, e.g.:
---%<-------------------------------------------------------------------------
pass_attrs=uid=user,userPassword=password,=proxy=y,hostName=host
---%<-------------------------------------------------------------------------
passwd-file
-----------
---%<-------------------------------------------------------------------------
user:{plain}pass::::::proxy=y host=127.0.0.1
---%<-------------------------------------------------------------------------
(This file was created from the wiki on 2011-01-13 04:52)