Re: [Exim] exim and ldap

Pàgina inicial
Delete this message
Reply to this message
Autor: Rene Schumann
Data:  
A: Mike Richardson
CC: exim-users
Assumptes nous: [Exim] distributing spam
Assumpte: Re: [Exim] exim and ldap
--
Hello!

Did you find something to prevent this long errormsg incl. Password if
there are wrong authentification data?

435 Unable to authenticate at present: lookup of
"user="uid=test,ou=mb,o=domain" pass=testtw
ldap:///ou=mb,o=domain?sn?sub?(&(uid=test))" gave DEFER:
failed to bind the LDAP connection to server ldap.domain.de:389 - LDAP
error 49: Invalid credentials


It would be nice if the response is only "LDAP error 49: Invalid
credentials" or so.
Can someone help please?

thx
Rene


Am Mit, 2002-09-04 um 11.07 schrieb Mike Richardson:
> On Wed, Sep 04, 2002 at 10:00:54AM -0700, mohammad.meskarian wrote:
> > Dears
> > Thanks about your help in before for EXIM SMTP authentication
> > As you know exim use /etc/exim/passwd file copy of /etc/shadow
> > For authentication data base. Is there any body know about ldap
> > Because ldap doesn?t use shadow file.
>
> Lovie,
>
> We use something like:
>
> ${lookup ldap {user=\"${lookup ldapdn{ldap:///o=ac,c=uk?sn?sub?(&(uid=$2))}{$value}{no}}\" pass=$3 ldap:///o=ac,c=uk?sn?sub?(&(uid=$2))}{yes}{no}}
>
> in server_condition for LDAP SMTP Auth.
>
> Mike
> --
> -----Plain text only please - attachments stripped on arrival.------
> Copyright 2002       Mike Richardson, Room G98, Manchester Computing
> University of Manchester, M13 9PL     doctor@???    Int: 56009
> Left through main doors.         Right then left at end of corridor.
> First door on left.   URL http://kira.mcc.ac.uk/  Ext: 0161 275 6009
> --------------------------------------------------------------------
> "If I want your opinion, I'll beat it out of you!" - Chuck Norris
> "If anything happens to my daughter I have a 45 and shovel" Clueless

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>

--



mit freundlichen Grüßen
Rene Schumann

--
Rene.Schumann@???
Schlund+Partner AG    http://www.schlund.de
Fon: +49-721-91374-399    Fax: +49-721-91374-228




--
Content-Description: Dies ist ein digital signierter Nachrichtenteil

[ signature.asc of type application/pgp-signature deleted ]
--