CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: [SOLVED} Net::LDAPS cant find entry in ldap server: Edit Log



invader7
New User

Jun 9, 2013, 6:27 AM


Views: 240
[SOLVED} 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.

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)


Edit Log:
Post edited by invader7 (New User) on Jun 9, 2013, 6:30 AM
Post edited by invader7 (New User) on Jun 10, 2013, 12:46 AM: SOLVED
Post edited by invader7 (New User) on Jun 10, 2013, 12:51 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives