Autor: W B Hacker Data: A: exim users Assumpte: Re: [exim] Exim hangs on ldap search
lbv wrote:
> Ultimately I need to do an ldap auth against an AD ldap server, but I need to
> convert the username (lvasquez) to a cn (Lou Vasquez) before I can specify
> the user and this isn't working right. I do a basic ldap lookup to get the
> cn. Once I get the cn I will put that into the ldapauth, but the ldap is
> failing all by itself.
>
> I've reduced it to a plain ldap search inside an "if" and its simply hanging
> when it gets the cn. The pertinent config and d+all debug are pasted below.
> Exim is already running on port 25 separately and is restarted with each
> config change but that shouldn't be the problem as I can get this to
> authenticate just fine if I put the correct cn right into an ldapauth.
>
> Any help would be appreciated.
>
> Thanks,
> Lou
>
*trimmed*
Just to narrow down the issue, can you create a record where the cn is the same
as the username and try it that way?