From: Chris R. <chr...@me...> - 2001-04-10 07:09:25
|
Jim Harle <ha...@us...> wrote: > Try my $mesg = $ldap->bind ($dn => $dn, password =>$password,version => > 3); > > Also, make sure you have the right password. > > On Mon, 9 Apr 2001, Pooja wrote: > >> I am new to NDS. I always get the following error >> "LDAP_CONFIDENTIALITY_REQUIRED" when I do the bind using dn >> and password. That error *suggests* that the server is not willing to accept simple binds using a password sent to it in the clear, which is what you are trying to do. Instead, your server may require that you have a 'confidential' connection, perhaps one over SSL, eg LDAPS (supported in Net::LDAPS), or TLS (not yet supported by Net::LDAP.) Alternatively, you might be able to use SASL to negotiate such a connection. I'm not sure the SASL mechanisms available in perl (read perldoc Authen::SASL) can negotiate these, but Graham will know for sure. Requiring a confidential connection would appear to be a feature of the way your server's been set up; perhaps you could clarify this with the manager of the server? Cheers, Chris |