Re: [Dovecot] LDAP filters

2008-09-08 Thread Proskurin Kirill
Tomasz K Jarzynka wrote: Why not (&(objectClass=mailUser)(mail=%u)(uid=%n)) ? PS. You really should consider solving this is a more elegant way ;) Yes, yes, yes. :-) Im trying to make some very stupid thing just because im runnig out of ideas about all in one ldap auth center. -- Best re

Re: [Dovecot] LDAP filters

2008-09-08 Thread Tomasz K Jarzynka
Quoting [EMAIL PROTECTED]: Message: 9 Date: Mon, 08 Sep 2008 12:33:29 +0400 From: Proskurin Kirill <[EMAIL PROTECTED]> Subject: [Dovecot] LDAP filters To: Dovecot Mailing List Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8; format=flowed Hello all. I

Re: [Dovecot] LDAP filters

2008-09-08 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 8 Sep 2008, Proskurin Kirill wrote: pass_filter = (&(objectClass=mailUser)([EMAIL PROTECTED])(uid=%n)) Will this construction work? Well, try it :-) If your users authentificate with [EMAIL PROTECTED], it should work, but then I wonder

[Dovecot] LDAP filters

2008-09-08 Thread Proskurin Kirill
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)([EMAIL PROTECTED])(uid=%n)) Will this