As far as timeouts, you can set them when using IDirectorySearch: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi /ads_searchpref_enum.asp?frame=true
Or using ADO: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi /searching_with_activex_data_objects_ado.asp But I'm not aware of a way to do it when using a GetObject call. Robbie Allen http://www.rallenhome.com/ > -----Original Message----- > From: Gil Kirkpatrick [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 3:55 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [ActiveDir] ADSI > > > If you're using serverless binding, ADSI may be selecting a DC that is > either far away, not reachable, or down. Make sure your DNS > contains the > proper SRV records for your DCs. > > You can set timeout values for LDAP calls using the LDAP > APIs, but I don't > think that that functionality is exposed through ADSI. > > -gil > > -----Original Message----- > From: Reva S [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 12:31 PM > To: [EMAIL PROTECTED] > Subject: [ActiveDir] ADSI > > > Hi, > Has anyone experienced problem with ADSI? > I try to connect to RootDSE object of the remote server and > it sometimes > never returns. > Can we specify timeout or some other way to force the method > to return? > Thanks! Reva > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > List info : http://www.activedir.org/mail_list.htm > List FAQ : http://www.activedir.org/list_faq.htm > List archive: > http://www.mail-archive.com/activedir%> 40mail.activedir.org/ > > List info : > http://www.activedir.org/mail_list.htm > List FAQ : http://www.activedir.org/list_faq.htm > List archive: > http://www.mail-archive.com/activedir%> 40mail.activedir.org/ > List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/