>>>>> ->unbind does not cause the socket to be closed. You need to call >>>> ->disconnect to do that. >>>>> >>>>> Graham. >>>> >>>> Thanks Graham! Sorry for such a newbie question ;) >>> >>> Not really a newbie thing. ->disconnect was only recently added. >>> >>> Graham. >> >> Yes, I discovered that, which brings me on to my next question... I'm >> using perl-ldap-0.27. I cannot easily change the version right now, so >> I am interested in finding a work around for the disconnect issue. >> Could anyone suggest a way to this with version 0.27? >> >> Thanks >> /Neil > > You can use $ldap->socket to get at the IO::Socket::INET instance... The > method existed in 0.27, though it is not documented (it will be soon :-) > > Cheers, > > Chris
Thanks Chris and Graham! I'll try that, and at some point I'll upgrade to 0.28 cheers /Neil
