When you try to set the userPassword attribute by using an LDAP Data Interchange Format (LDIF) file, you receive an error message that is similar to the following:
Add error on line 34: Unwilling To Perform
How to reslove this ?
What is equivalent LDAP attributes for Active Directory
I am looking for password using Net::LDAP.
I dont know to how to set the user password using Net::LDAP
#!/usr/bin/perl
use strict;
use warnings;
my $s = "sad day
Good day
May be Bad Day
";
$s =~ s/\w+ \w+/_/gm;
print $s;
I am trying to substitute all spaces between words with _, but it is not working. What is wrong with that?
$a = "sad day
Good day
May be Bad Day
";
$a=~s/\w+ \w+/_/gm;
print $a;
I am trying to subsitue with _ all spaces between words .
But its not working . What is wrong with that.