
invader7
New User
Jun 9, 2013, 6:27 AM
Post #1 of 1
(2013 views)
|
[SOLVED} Net::LDAPS cant find entry in ldap server
|
Can't Post
|
|
Hello everybody, i have an ldap server and i want to use Net::LDAPS with it. Here are the settings of my ldap server. http://s12.postimg.org/jt4n7uo59/ldap.png 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 ! SOLVED
(This post was edited by invader7 on Jun 10, 2013, 12:51 AM)
|