PC Review


Reply
Thread Tools Rate Thread

Active Directory problem (DirectoryServices)

 
 
mystiqu
Guest
Posts: n/a
 
      25th Feb 2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to get a name from Active Directory with DirectoryServices jmDesktop Microsoft C# .NET 4 27th Feb 2007 08:02 PM
Simple Active Directory Directory Sharing Problem Matthew Frederick Microsoft Windows 2000 Active Directory 1 25th Jan 2007 01:17 AM
Active Directory, Active Directory Federation Services and Microsoft Integration Identiy Server Mas Libman [MSFT] Microsoft Windows 2000 Active Directory 0 6th May 2005 10:55 PM
Active Directory - System.DirectoryServices Amadelle Microsoft Dot NET 0 13th Oct 2004 01:52 AM
System.DirectoryServices & Active Directory Object Sercurity bryhhh Microsoft C# .NET 0 2nd Sep 2004 03:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:19 PM.