MoshiachNow
IS-IT--Management
HI,
My following code:
my $ldap = Net::LDAP->new( 'localhost:389' );
# bind to a directory with dn and password
my $mesg = $ldap->bind("cn=ComputersNum , cn=HardwareConfiguration , cn=NeriaAdministration ,
cn=POD_ROOT,CN=POD_Partition , dc=KODAK", user=>'PodLdapUser', password => 'PodLdap123');
Causes the following error:
Can't call method "bind" on an undefined value at D:\DOcuments\myscripts\taskmon.pl line 264, <DATA> line 275.
Will appreciate advise.
thanks
Long live king Moshiach !
My following code:
my $ldap = Net::LDAP->new( 'localhost:389' );
# bind to a directory with dn and password
my $mesg = $ldap->bind("cn=ComputersNum , cn=HardwareConfiguration , cn=NeriaAdministration ,
cn=POD_ROOT,CN=POD_Partition , dc=KODAK", user=>'PodLdapUser', password => 'PodLdap123');
Causes the following error:
Can't call method "bind" on an undefined value at D:\DOcuments\myscripts\taskmon.pl line 264, <DATA> line 275.
Will appreciate advise.
thanks
Long live king Moshiach !