note 43632 added to function.ldap-start-tls

From: Date: Mon, 28 Jun 2004 19:10:43 +0000
Subject: note 43632 added to function.ldap-start-tls
Groups: php.notes 
Request: Send a blank email to php-notes+get-72063@lists.php.net to get a copy of this message
Note that (in my very limited experience) you cannot use the ldaps protocol with tls, or ldap_start_tls() will report "ldap_start_tls(): Unable to start TLS: Operations error", and ldap_error() will return error code 1. I found that I had to call ldap_connect() with ldap:// rather than ldaps:// for ldap_start_tls() to succeed. Hope this helps someone! ---- Manual Page -- http://www.php.net/manual/en/function.ldap-start-tls.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43632 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43632&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43632&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72063) next »