figo2476 Posted August 7, 2010 Share Posted August 7, 2010 $ldap_url = "ldaps://example.com"; $ldap_port = 636; $ldap_conn = ldap_connect($ldap_url, $ldap_port); echo "ldap_conn: $ldap_conn\n"; $base_dn = "ou=something,o=something"; $filter = "(&(something=*)(something=staff))"; $ldap_search_res = ldap_search($ldap_conn, $base_dn, $filter); ldap_close($ldap_conn); I run this on my ubuntu, but it says "cannot connect to ldap server". I have a perl script doing exactly the same thing, but it works. I suspect it may be this --> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560161 (The workaround doesn't work for me) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.