Re: LDAPS

2009-03-20 Thread Chris Ridd
On 20 Mar 2009, at 16:23, Helmut Schneider wrote: LDAPSHow do I turn on debugging for Net::LDAP? Also, I'm not familiar with the ldapserach syntax, but: Call $ldap->debug(n) - n is a mask of debug flags described in the docs. But as it is mainly for debugging LDAP PDUs, it isn't going to

Re: strange behaviour of SetPassword

2009-03-20 Thread Dieter Kluenter
Kurt Zeilenga writes: > On Mar 20, 2009, at 7:44 AM, Kurt Zeilenga wrote: > >> On Mar 20, 2009, at 7:36 AM, Dieter Kluenter wrote: >> >>> Hi, >>> i just test PasswordPolicy and want to modify passwords with >>> Net::LDAP::Extension::SetPassword, but when i run this script, >>> $msg->gen_password(

Re: LDAPS

2009-03-20 Thread Helmut Schneider
LDAPSHow do I turn on debugging for Net::LDAP? Also, I'm not familiar with the ldapserach syntax, but: [r...@mx1 ~]# ldapsearch -h domain.tld -Z ldap_start_tls: Connect error (-11) additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed ldap_bi

RE: LDAPS

2009-03-20 Thread Miller, Don C.
Helmut, try connecting with debugging on and see what is happening. Also, try using ldapsearch in verbose mode. It might give you good information about the connection as well. Don From: Helmut Schneider [mailto:jumpe...@gmx.de] Sent: Fri 3/20/2009 8:30 AM T

LDAPS

2009-03-20 Thread Helmut Schneider
Hi, I ran Net::LDAP on 5 Servers, 2*OpenBSD, 3*FreeBSD. I'm using it to connect to an MS Active Directory. Everything was fine, also connecting via LDAPS. Now I switched the 2 OpenBSD computers to FreeBSD and I'm not able to connect via LDAPS anymore. LDAP is fine. The code is: our $scheme

Re: strange behaviour of SetPassword

2009-03-20 Thread Kurt Zeilenga
On Mar 20, 2009, at 7:44 AM, Kurt Zeilenga wrote: On Mar 20, 2009, at 7:36 AM, Dieter Kluenter wrote: Hi, i just test PasswordPolicy and want to modify passwords with Net::LDAP::Extension::SetPassword, but when i run this script, $msg->gen_password() creats a random password and modifies newp

Re: strange behaviour of SetPassword

2009-03-20 Thread Kurt Zeilenga
On Mar 20, 2009, at 7:36 AM, Dieter Kluenter wrote: Hi, i just test PasswordPolicy and want to modify passwords with Net::LDAP::Extension::SetPassword, but when i run this script, $msg->gen_password() creats a random password and modifies newpassword=> with the radom generated value instead of

strange behaviour of SetPassword

2009-03-20 Thread Dieter Kluenter
Hi, i just test PasswordPolicy and want to modify passwords with Net::LDAP::Extension::SetPassword, but when i run this script, $msg->gen_password() creats a random password and modifies newpassword=> with the radom generated value instead of the defined password. Is this a bug or is my script bogu