Re: [Exim] Documentation error - quote_ldap example

Top Page
Delete this message
Reply to this message
Author: Tony Earnshaw
Date:  
To: Brian Candler
CC: exim-users
Subject: Re: [Exim] Documentation error - quote_ldap example
man, 2002-08-19 kl. 14:23 skrev Brian Candler:
> On Mon, Aug 19, 2002 at 12:48:27PM +0200, Tony Earnshaw wrote:


> I guess your usernames don't contain any '@' signs or other characters which
> get URL-escaped?


No. "cn" doesn't.

But if I change the auth condition to:

server_condition = ${if ldapauth \
{user="mail=${quote_ldap:$2},\
ou=people,ou=groups,dc=billy,dc=demon,dc=nl" pass="$3"\
ldap:///}{yes}{no}}

Which I don't want and never use, testing with 'exim -bt' for anyone
present in the ldap database, either with a local address, mail routing
address or alias address, seems to work just as well:

'exim -bt members@???' (group alias)
'exim -bt tonni@???' (alias for local user)
'exim -bt ftp@???' (alias for a local user)
'exim -bt tonye@???' (local user)
'exim -bt evy@??? (mail alias and local posixAccount user;
Actually an online.no - no=Norway, not nl=Holland - user).

Obviously the user has to have an rfc822 mail address in his/her dn
record. But he/she would have to anyway, for Exim.

Best,

Tony

--

Tony Earnshaw

The usefulness of RTFM is vastly overrated.

e-post:        tonni@???
www:        http://www.billy.demon.nl
gpg public key:    http://www.billy.demon.nl/tonni.armor


Telefoon:    (+31) (0)172 530428
Mobiel:        (+31) (0)6 51153356


GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981