|
Posted by Jason Motes on 06/16/05 19:53
>
> $ldapserver="ldapserver"; //this works
> $ldapserver="ldaps://ldapserver"; //this fails
> $ldapserver="ldapserver:636"; //this fails
>
> if (!($ldap = ldap_connect($ldapserver)))
> {
> die ("Could not connect to LDAP Server: $server\n");
> }
> else {
> print "Connected\n";
> }
> if (!(ldap_bind($ldap, $bindUser,$bindPass)))
> {
> die ("Unable to Bind");
> }
> else {
> print "Bound\n";
> }
>
Oh yeah, My connects don't fail. It fails on the bind, even if it is
anomynous.
Navigation:
[Reply to this message]
|