note 44678 added to ref.ldap

From: Date: Thu, 12 Aug 2004 20:27:55 +0000
Subject: note 44678 added to ref.ldap
Groups: php.notes 
Request: Send a blank email to php-notes+get-79916@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+44678 Delete -- http://master.php.net/manage/user-notes.php?action=delete+44678&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+44678&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#79916) next »