Article ID: 196850
Article Last Modified on 3/1/2005
"cn=username,dc=domain,cn=admin"The username and domain should be replaced with appropriate values, while the cn=admin portion is literal and should be used as is.
Set adsNS = GetObject("LDAP:")
Set adsObj = adsNS.OpenDsObject(strObjName,"cn=" & strUser & ",dc=" & _
strDomain & ",cn=admin" , strPassword, 0 )
NOTE: When you connect with "cn=admin", hidden and deleted objects appear mixed with normal objects. You must test for (or filter on) the Is-Deleted or Hide-From-Address-Book properties to distinguish them from normal objects.
185475 LDAP search returns no entries for hidden or deleted objects
Additional query words: kbLDAP
Keywords: kbinfo kbapi KB196850