From: eric G. <eri...@wa...> - 2001-06-15 04:49:36
|
in my test , i try this $recher->$ldap->search( ......) in sync mode , in display of $recher i see all data. the same thing with 'async' , i see only the begin of answer of slapd . I make : $recher->sync after this operation $recher is undef. I found in archive a message about async-request ,I ll try . thank ----- Original Message ----- From: eric German <eri...@wa...> To: <per...@li...> Sent: Thursday, June 14, 2001 7:21 PM Subject: help nedd about async operation > 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 > > > > > |