[Dovecot] LDAP filters
Hello all.
I'm have this problem:
I'm want auth users by "uid" filed but this filed uniq only in one LDAP container. So im what to tell dovecot were to look some "uid" by "mail" filed of this user.
Can im do this:
pass_filter = (&(objectClass=mailUser)(mail=*@%d)(uid=%n))
Will this construction work?
-- Best regards, Proskurin Kirill
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 8 Sep 2008, Proskurin Kirill wrote:
pass_filter = (&(objectClass=mailUser)(mail=*@%d)(uid=%n))
Will this construction work?
Well, try it :-)
If your users authentificate with uid@maildomain, it should work, but then I wonder why they are not login using the mail address.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIxSynVJMDrex4hCIRAlbjAJ4nkWYiVMZpBxCFsS/zv4q36rrnCgCgyb3S VB5VsCHdZzlfC6W14ggCoVM= =shn8 -----END PGP SIGNATURE-----
participants (2)
-
Proskurin Kirill
-
Steffen Kaiser