note 37582 added to function.ldap-search
| From: | chester at the dot underground dot com dot au | Date: | Thu, 20 Nov 2003 06:45:31 +0000 |
| Subject: | note 37582 added to function.ldap-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60663@lists.php.net to get a copy of this message | ||
If you are searching active directory and are experiencing lag or time outs, it may be that you are
being given ldap referrals from the ldap server. The following code will disable this.
<?
ldap_set_option($connect, LDAP_OPT_REFERRALS, 0);
?>
----
Manual Page -- http://www.php.net/manual/en/function.ldap-search.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37582
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37582&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37582&report=yes
Search -- http://master.php.net/manage/user-notes.php