Hi
I´m working on an application for listing contacts in active
directory.
I´m retrieving the address lists and then I´m using the
DirectorySearcher to execute the query based on a selected address
list.
And now to my problem:
Whenever I execute the search ( myDirSearcher.findAll() ) I get an
exception:
-2147016661 - "A referral was returned from the server"
I´m sitting on a domain and I´m using the "rootDomainNamingContext"
property value from RootDSE when I´m connecting.
dim de as new directoryEntry("LDAP://RootDSE")
domain = de.properties("rootDomainNamingContext").item(0)
dim de as new directoryentry("LDAP://" & domain)
I´m also setting the DirectorySearcher referralChasing option to
"All".
It works fine in my little test environment with 2 domain controllers
and an exchange server (2003), but not in the "live network":
Does anyone know what might be wrong?
I mean, it works fine when I´m collecting the address lists.
Any help is appreciated!!!!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com