Re: [exim] userPassword at LDAP lookup always empty

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] userPassword at LDAP lookup always empty
Hello Martn,

Marten Lehmann <lehmann@???> (Fr 13 Nov 2009 16:22:27 CET):
> Hello,
>
> I would like to retrieve the ?userPassword value with a LDAP lookup, but
> it is always empty. But this seems to be removed either by exim or the C
> client lib. When I connect with Java, I can retrieve this field.


Are you sure that you're using the same credentials and filter in your
Java client an in exim? I'd guess, connecting the LDAP from exim results
in a less privileged session. You won't even see a warning or such. The
LDAP server just doesn't tell you anything about the userPassword.

> The LDAP is only used internally and I need other fields of the LDAP
> entry as well. Therefor I don't want to separately try a LDAP connect to
> test if ther credentials are ok and then a second time to retrieve other
> fields.


But you pay with the loss of flexibility and more config hassle on the
side of exim. The LDAP server should be used for authentication if the
userPasswords are stored there.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -