Jun 9, 2013, 6:27 AM
Post #1 of 1
Hello everybody, i have an ldap server and i want to use Net::LDAPS with it. Here are the settings of my ldap server.
[SOLVED} Net::LDAPS cant find entry in ldap server
Now the perl :
im trying this code
$ldap = Net::LDAPS->new( '192.168.1.22','636',verify => 'none' );
$mesg = $ldap->search(filter=>'uid=inv',base=>'ou=people,dc=maxcrc,dc=com',scope=>"one");
but $mesg->count returns 0 entries
i tried with
base=>'dc=maxcrc,dc=com' and scope subtree but nothing happened !
Any opinions ? thanks !
(This post was edited by invader7 on Jun 10, 2013, 12:51 AM)