note 44676 deleted from ref.ldap by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 01 Sep 2004 21:58:58 +0000 |
| Subject: | note 44676 deleted from ref.ldap by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75904@lists.php.net to get a copy of this message | ||
Note Submitter: dmeehan at flcancer dot com
----
If your having problems running LDAP searches on the base DC against Active Directory 2k3, you need
to set dsHeuristics to 0000002 in Active Directory. This allows searches to function similar to how
they did in Active Directory 2k2. You can update dsHeuristics by launching ldp.exe goto
'connection' and create a new connection. Then goto bind and bind to your ldap server.
Next select the 'Browse' menu and choose 'modify'. The DN *might* look like
this:
CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=mycompany,DC=com
Attribute is: dsHeuristics
Value is: 0000002
Set the operation to replace and you should be set.
This solves the 'Operations error' error that happens when attempting to search without
specifying an OU.
-d