Re: [PERL-LDAP-DEV] perl-ldap AD authentication with SASL/GSSAPI

2003-10-18 Thread Graham Barr
On 18 Oct 2003, at 3:57, Zhang Liquan wrote: Now, I can use SASL/GSSAPI encryption to search AD successfully, though this may not be a fine resolution. I'm a tyro of PERL, and I'm not very familiar with PERL MODULE, so I can't explain the problems and resolve it really. I'll decribe my modificat

Re: [PERL-LDAP-DEV] perl-ldap AD authentication with SASL/GSSAPI

2003-10-18 Thread Simon Wilkinson
Zhang Liquan wrote: In Net::LDAP::Bind::decode, use $sasl->tiesocket replace $sasl->securesocket, then the connection will not be closed when BIND completed. But after BIND success, the Net::LDAP module will complain the socket handle ($ldap->socket) not a GLOB reference when it try to w

Re: [PERL-LDAP-DEV] perl-ldap AD authentication with SASL/GSSAPI

2003-10-18 Thread Zhang Liquan
CTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 16, 2003 7:46 PM Subject: Re: [PERL-LDAP-DEV] perl-ldap AD authentication with SASL/GSSAPI > I had exactly the same problem. With same software you have on the > client side except on Linux and OpenLDAP on the server side. &g

Re: [PERL-LDAP-DEV] perl-ldap AD authentication with SASL/GSSAPI

2003-10-16 Thread Ziya Suzen
I had exactly the same problem. With same software you have on the client side except on Linux and OpenLDAP on the server side. I has been a while, IIRC I had to set ssf to 0 ('zero' which is no encryption) on OpenLDAP to get it working (You should be able to turn it of from the client side as wel