Hi List!

@kerstin:Na, überrascht? ;-)

I'm currently configuring an exim mailer together with courier-imap and 
a ldap-backend. It works all _very_ fine currently, except smtp-auth. I 
have some problems configuring it right to do a lookup for the user for 
ldapauth. (Yes, I'm doing a lookup for the username since I can't get it 
from the smtp-auth session)

That's my conf (I've only extracted the login-authenticator):

login:
   driver = plaintext
   public_name= LOGIN
   server_prompts = "Username:: : Password::"
   server_condition = ${if ldapauth \
      {user= ${lookup ldapdn \
               { \
               user="cn=epicforge reader, cn=readers, dc=epicforge, 
dc=com" \
               pass="xxxxxxx" \
               
ldap://127.0.0.1:389/dc=epicforge,dc=com?dn?sub?(mail=${quote_ldap:$1}) \
               } \
              } \
       pass=$2 \
      ldap://127.0.0.1:389/dc=epicforge,dc=com?uid?sub?(uid=$1)}{yes}{no}}
   server_set_id=$1

What I'm getting is an

  435 Unable to authenticate at present ([EMAIL PROTECTED]): 
unknown parameter "cn=" precedes LDAP URL

I tried to use quote_ldap and quote_ldap_dn for the ${lookup, but that 
didn't do the trick...

What am I missing? Perhaps someone can help me!

Kind regards,
Dennis

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to