Net::LDAPS cant find entry in ldap server
Hello everybody, i have an ldap server and i want to use Net::LDAPS with it. Here are the settings of my 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 !
Last edited by invader7; June 10th, 2013 at 03:54 AM.
June 20th, 2013, 07:03 PM
Care to mention how you fixed it, might help someone out further down the road ...
without exception, there is no rule ...
Handmade Irish Jewellery
Targeted Advertising Cookie Optout (TACO) extension for Firefox
The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones
09 F9 11 02
9D 74 E3 5B
D8 41 56 C5
63 56 88 C0
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
-- Jamie Zawinski
- the devil is in the detail, allegedly, and I use the term advisedly, allegedly ... oh, no, wait I did ...
BIT COINS ANYONE