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 <dovecot@dovecot.org>
Message-ID: <[EMAIL PROTECTED]>
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)([EMAIL PROTECTED])(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

Reply via email to