note 115709 added to function.ldap-start-tls

From: Date: Thu, 11 Sep 2014 22:05:55 +0000
Subject: note 115709 added to function.ldap-start-tls
Groups: php.notes 
Request: Send a blank email to php-notes+get-200420@lists.php.net to get a copy of this message
For all users,admins how are using or taying to connect to Microsoft Active Directory with PHP openLDAP extension, Apache,OpenSSL and they are getting: "Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server" here is the solution as i did: -------------------------------- upgrade to PHP 5.4.x creat a directory as: C:\openldap\sysconf\ldap.conf write into this file (ldap.conf): TLS_CACERT path\to\your\CA\cert\file.crt (like d:\monCA_Cert\ca.crt) restart your apache web server, and refresh your page and tell me (allah yar7am lwalidin)in arabic for more here's my mail:med.ezzairi@gmail.com ---- Server IP: 72.52.91.14 Probable Submitter: 41.249.96.194 ---- Manual Page -- http://php.net/manual/en/function.ldap-start-tls.php Edit -- https://master.php.net/note/edit/115709 Del: integrated -- https://master.php.net/note/delete/115709/integrated Del: useless -- https://master.php.net/note/delete/115709/useless Del: bad code -- https://master.php.net/note/delete/115709/bad+code Del: spam -- https://master.php.net/note/delete/115709/spam Del: non-english -- https://master.php.net/note/delete/115709/non-english Del: in docs -- https://master.php.net/note/delete/115709/in+docs Del: other reasons-- https://master.php.net/note/delete/115709 Reject -- https://master.php.net/note/reject/115709 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200420) next »