[Dovecot] %{ldap:nonExistantAttribut} (was Re: v2.2.alpha1 released)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Nov 5 20:58:06 EET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 29 Oct 2012, Timo Sirainen wrote:

this syntax is now replaced by an empty string, if the attribute is 
missing, instead of generating a backtrace as in v2.1.

http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb?highlight=(%25{ldap)

is the only reference I found so far and the TODO file.

If the attribute does not exist, there should be a default value, you can 
specify, e.g.: %{ldap:attrName[,]:default value} . [,] the optional 
delimiter from the TODO.

Or if the attribute is missing, the rule is ignored.

Kind regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUJgMPmoxLS8a3A9mAQJzRAf8CNz8vs4JkYisO52ajT8fzYsv8cHSHeqH
G9Tqnz3IM2UjxRkSHWh3XJcf8pG2tmAns7ib1nH3WUuz99I3JG6exxiOX+PhdZnF
BXWQRRSUXl5xsf1qqOIqNXTtqSwzEY/ucXrZi8ZdzYPArq2cN6YDsI/qacgyS+Md
c1BWxdtC3DX1d+aBYreQ8oopyhahaLYS6p366bkh5Olemjb9ofkhJfi1EoUpXko3
pU+wXovIXH5xhvlis91FUJfF6gk1zGfBBcnhym/EJVkRyNMf+smeUL1AcGvLs0FJ
scCq/QU9U9t4C91aooQzdiE+p4i9I2mpprPJsC2Bb4FdnlSQbspjDQ==
=Xp2l
-----END PGP SIGNATURE-----



More information about the dovecot mailing list