From: Graham B. <gb...@po...> - 2000-05-25 19:20:53
|
This one is puzzling, there is no reason why a second bind should do anything diffeent. The debug report from Simon is excellent help, but if you have anything more it can only help Thanks, Graham. On Thu, May 25, 2000 at 08:00:55PM +0200, Christopher Arnold wrote: > > On Thu, 25 May 2000 Sim...@wi... wrote: > > > In the following code I am binding to an ldap server, doing a search for a > > dn and then binding again with the resulting dn. > Hmm, yes this was what i was going to report a couple of days before... > > > I am using Net::NetLDAP v0.18 and Convert::ASN1 0.06 > > Perl is 5.6.0 and the LDAP server is Novell's eDirectory for NT > > > > Basically what seems to happen is that the second bind is not transmitting > > the password I've given it, so the ldap server decides it is an anonymous > > bind and it does that and returns success. > > > I have noticed the same problem with what i belive was v0.17 and ASN 0.05 > running on FreeBSD 4.0-RELEASE with perl, version 5.005_03. > We are running against a iplanet LDAP server. > > > Any ideas ? > As a workaround i made a bind in the beginning of the program and an > unbind in the end... Not so elegant but it enabled me to work on other > issues. > > > I've also attached the relevant output pack from debug and also a trace > > from the LDAP server which bears this out. > > > I also have some traces (and example code) if someone needs them for > debugging. > > > /chris > > |