Re: [PHP] SSL ldap bind

2005-06-16 Thread Richard Lynch
On Thu, June 16, 2005 9:45 am, Jason Motes said: WILD GUESS ALERT! > and returns the error: > ldap_ssl_interactive_bind_s: Unknown authentication method (86) > additional info: SASL(-4): no mechanism available: No worthy mechs > found > if i run the above command with the de

Re: [PHP] SSL ldap bind

2005-06-16 Thread Jason Motes
I am trying to do an ssl ldap bind to novell's edir 8.7. I have followed the examples from http://us4.php.net/manual/en/function.ldap-connect.php I know these examples are for AD, but they should be close to the same. I have exported the server cert and made the changes to ldap.conf. and

Re: [PHP] SSL ldap bind

2005-06-16 Thread Jason Motes
$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, $bindU

[PHP] SSL ldap bind

2005-06-16 Thread Jason Motes
Hello list I am trying to do an ssl ldap bind to novell's edir 8.7. I have followed the examples from http://us4.php.net/manual/en/function.ldap-connect.php I know these examples are for AD, but they should be close to the same. I have exported the server cert and made the changes to ldap.co