----- Forwarded message from Sean Chen <sc...@sa...> -----
Date: Fri, 06 Jul 2001 11:04:43 -0700
To: gb...@po...
Cc: sc...@sa...
From: Sean Chen <sc...@sa...>
Subject: Perl-Ldap
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686)
Hello Mr. Barr,
Im currently using your LDAP module to interface with an
openLDAP server using SASL. Initially, I was unable to log into the
server, and repeatedly received the "no secret in database" error
message from the server. After some poking around, I discovered that
when a "sasl" field is passed, the "user" element of the sasl object is
set to "dn: $dn". I finally was able to get the connection to work by
removing the setting of "user", and manually setting it to just the
username(i.e. $sasl->name("joe") instead of $sasl->name("dn: cn=joe,
[...]")). I was wondering if this is a bug, or if other LDAP sasl
implementations use the "dn:" format. Thanks for your time and help!
Sean Chen
----- End forwarded message -----
|