|
Is there somewhere a better documentation then the one at cpan ? I tried to figure out the wht the return values and input values are for a bind/search for example (I used Net::LDAP before).
# What is in message $mesg ?
$mesg = $ldap->bind_s(-type=>LDAP_AUTH_SASL);
# Why is this set after bind ?
$ldap->sasl_parms(-mech=>"GSSAPI",
-secprops=>"",
-flags=>LDAP_SASL_QUIET);
# What are the possible arguments and return values ?
$mesg = $ldap->search( -base => $bind_path,
-filter => "(samaccountname=$user)",
-timelimit => 2,
-attrs => ['mail',
'samaccountname',
'useraccountcontrol',
'userprincipalname']
);
Thank you
Markus
|