enoch has asked for the wisdom of the Perl Monks concerning the following question:
After they make some modificatication(s) to their information, I need to bind back to the LDAP server as the user who logged on to the web page. Something like:my $ldapObj = Net::LDAP->new($server); $ldapObj->bind; # bind anonymously my $ldapSearchUser = $ldapObj->search(base => 'o=isp', filter => '(uid=' . $ENV{'REMOTE +_USER'}. ').);
The problem being, there is no $ENV{'PASSWORD'}. Is there any way I can get Perl (as CGI) to access the password the user logged in with?$ldapObj->bind($dn, $ENV{'PASSWORD'})
|
|---|