[Exim] Re: LDAP authentication in Exim 4.0.5

Pàgina inicial
Delete this message
Reply to this message
Autor: Derrick 'dman' Hudson
Data:  
A: Exim Users
Assumpte: [Exim] Re: LDAP authentication in Exim 4.0.5
--
On Thu, Jul 11, 2002 at 08:14:42AM -0500, David L. Harfst wrote:

| ldap_default_servers is set. There is only one server.
| Other LDAP calls, for address resolution/verification for
| example, are working fine.

|
| Debug shows the following:

|
|  SMTP<< AUTH PLAIN EncodedString==
|  plain authenticator:
|    $1 =
|    $2 = username
|    $3 = plntxtpswd
|  expanded string: no
|  SMTP>> 535 Incorrect authentication data

|
| Network sniffer shows no attempt to contact the LDAP server
| (which is on a different host).


Just some thoughts,

Have you tried explicitly stating the host in the authenticator? Eg :

    server_condition = ${if ldapauth \
                        {user="uid=${quote_ldap:$2},ou=People,o=International Teams" \
                         pass="$3" \
                         ldap://deborah.iteams.org/} \
                         {yes} {no} }


This does in fact work for me (though I'm not actually using it now, I
did test it back when I started experimenting with AUTH and LDAP).


Have you tried putting a different string or a different query in,
just to get different results?  What happens if you put
    server_condition = ${if eq {$3} {secret} {yes}{no}}
and send 'secret' as the password?  Does that work as expected?


-D

--

If we claim to be without sin, we deceive ourselves and the truth is not
in us.
        I John 1:8


http://dman.ddts.net/~dman/

--
[ Content of type application/pgp-signature deleted ]
--