note 101445 added to function.ldap-bind
| From: | elsint at yahoo dot com | Date: | Thu, 16 Dec 2010 22:00:51 +0000 |
| Subject: | note 101445 added to function.ldap-bind | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175005@lists.php.net to get a copy of this message | ||
If you are still having trouble after following all the instructions on the Web to get LDAPS to
work, here's what worked for me:
I was trying to do LDAPS connection (our LDAP server was using port 40636) by running following
command:
ldap_connect("www.example.com",40636)
This didn't work for days till I changed it to the following format:
ldap_connect("ldaps://www.example.com:40636")
Hope it'll help some out there.
-Cagdas
----
Server IP: 69.147.83.197
Probable Submitter: 134.154.225.146
----
Manual Page -- http://www.php.net/manual/en/function.ldap-bind.php
Edit -- https://master.php.net/note/edit/101445
Del: integrated -- https://master.php.net/note/delete/101445/integrated
Del: useless -- https://master.php.net/note/delete/101445/useless
Del: bad code -- https://master.php.net/note/delete/101445/bad+code
Del: spam -- https://master.php.net/note/delete/101445/spam
Del: non-english -- https://master.php.net/note/delete/101445/non-english
Del: in docs -- https://master.php.net/note/delete/101445/in+docs
Del: other reasons-- https://master.php.net/note/delete/101445
Reject -- https://master.php.net/note/reject/101445
Search -- https://master.php.net/manage/user-notes.php