From: eric G. <eri...@wa...> - 2001-06-14 17:22:38
|
hi , I use Directory Serveur whi provide a "shadow" account like. - length of password - date of expiration etc.. when use this : my $ldap= Net::LDAP->new ('10.75.6.34',port=>389); my $oper=$ldap->bind(dn => $dn , password=>$ancien ); my $code = $oper->code; if ($code == 49) {#bad password ...;; all work fine , BUT i want to have more explaination on the reason of fail . In Netscape doc , i read : for have more info about the fail : use the version 3 of LDAP and the async operation and read all ldap message send by server also I add in my bind : version =>3, async =>1, rigth , but no how fetch the next message of LDAP ? i have try : $ldap->message (wrong) $ldap->entries (wrong) ???? thank a lot eric german france |