Re: [Dovecot] LDAP filters
Quoting dovecot-request@dovecot.org:
Message: 9 Date: Mon, 08 Sep 2008 12:33:29 +0400 From: Proskurin Kirill k.proskurin@fxclub.org Subject: [Dovecot] LDAP filters To: Dovecot Mailing List dovecot@dovecot.org Message-ID: 48C4E359.7090602@fxclub.org Content-Type: text/plain; charset=UTF-8; format=flowed
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?
Why not (&(objectClass=mailUser)(mail=%u)(uid=%n)) ?
PS. You really should consider solving this is a more elegant way ;)
-- Tomasz Krzysztof Jarzynka / mob. +48 601 706 601 / HANDLE: TJ950-RIPE Network Information Systems Administrator / tomee(at)genesilico(d-o-t)pl Laboratory of Bioinformatics and Protein Engineering | www.genesilico.pl International Institute of Molecular and Cell Biology | www.iimcb.gov.pl
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 regards, Proskurin Kirill
participants (2)
-
Proskurin Kirill
-
Tomasz K Jarzynka