From: P.S.Saragiotis <ps...@au...> - 2001-01-08 14:28:32
|
Hello all, I've searched the lists archives but i couldnt find anything about LDAP_CONTROL_REFERRALS and how can i use it. I 'm making a connection to my ldap server (netscape v 4.11) and i wish to manage (add , delete the ref: attribute) the referral entries. I used the following control in my search : my $ctrl = Net::LDAP::Control->new( type => LDAP_CONTROL_REFERRALS, value => 0, critical=> 0 ); $mesg = $cldap->search ( base => "ou=$server,o=auth,c=gr", scope => "base", filter => "objectclass=*", control => [ $ctrl ] ); It returns the referrals and code 10 instead of the actual entries. Should nt this work ? Am i on the wrong path ? Any sugestions ? Thank you. |