|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-10 22:18 UTC] jani@php.net
[2007-11-11 01:22 UTC] scott dot thomas at inin dot com
[2010-05-12 11:11 UTC] bruno dot chalopin at laposte dot net
[2010-05-12 12:42 UTC] pajoye@php.net
-Status: Open
+Status: Assigned
-Package: Feature/Change Request
+Package: *General Issues
-Assigned To:
+Assigned To: pajoye
[2010-05-12 12:42 UTC] pajoye@php.net
[2010-05-12 12:42 UTC] pajoye@php.net
-Package: *General Issues
+Package: LDAP related
[2010-05-17 22:09 UTC] pajoye@php.net
[2010-05-17 22:09 UTC] pajoye@php.net
-Status: Assigned
+Status: Closed
[2010-05-17 22:09 UTC] pajoye@php.net
[2010-05-17 22:22 UTC] pajoye@php.net
[2010-06-18 09:41 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 16:00:02 2025 UTC |
Description: ------------ Using Windows 2003 I seem to have no way to use LDAP_SASL_BIND(). All LDAP functions work otherwise. Error is as follows: Fatal error: Call to undefined function ldap_sasl_bind() Manual says to compile with --with-ldap-sasl but that is not an option for Windows deployments. Reproduce code: --------------- if ($connect=ldap_connect($ldap_server)) { ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION, 3); ldap_set_option($connect, LDAP_OPT_REFERRALS, 0); if ($bind=ldap_sasl_bind($connect, $auth_user, $password)) { ldap_close($connect); return true; } else { print ldap_error($connect) . '<br />'; } }//if connected to ldap ldap_close($connect); return false; Expected result: ---------------- return true or return false Actual result: -------------- Fatal error: Call to undefined function ldap_sasl_bind()