note 109371 modified in function.ldap-bind by danbrown

From: Date: Mon, 16 Jul 2012 15:36:53 +0000
Subject: note 109371 modified in function.ldap-bind by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189192@lists.php.net to get a copy of this message
It's nessesary to add: 

<?php
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)
?>

for ldap_bind returned true, while you try to bind for openldap (at least version 2.4.21) --was-- It's nessesary to add: [code] ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3) [/code] for ldap_bind returned true, while you try to bind for openldap (at least version 2.4.21) http://php.net/manual/en/function.ldap-bind.php

« previous php.notes (#189192) next »