On Feb 7, 2007, at 12:09 PM, Jeff Kalbfleisch wrote:
use strict; my $perllib; BEGIN { $ENV{PERL_LIB} =~ m/(.*)/; $perllib = $1 } # untaint PERL_LIB use lib $perllib;
Ever thought of just using the PERL5LIB environment variable, or if you must use your own
use lib ($ENV{PERL_LIB} =~ m/(.*)/)[0];
$secureLDAP->root_dse->supported_extension ("LDAP_EXTENSION_PASSWORD_MODIFY" );
That line is wrong and does not do what you think it does (see my other mail)
my $mesg = $secureLDAP->set_password( user => $short_user ,oldpasswd => $pass, newpassword=> $newPassword);
->set_password requires that you server supports LDAP_EXTENSION_PASSWORD_MODIFY
and yous does not. Which is why you get
error: 2: 0000203D: LdapErr: DSID-0C090C7D, comment: Unknown extended request OID, data 0, vece
Graham.