note 44677 added to ref.ldap
| From: | dmeehan at flcancer dot com | Date: | Thu, 12 Aug 2004 20:27:31 +0000 |
| Subject: | note 44677 added to ref.ldap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79913@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/ref.ldap.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44677
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44677&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44677&report=yes
Search -- http://master.php.net/manage/user-notes.php