LDAP, AD, ADSI, DS, GDS
AODSC (any old directory services crap)
I've been running several searches against a GDS LDAP directory - and the Timeout and ServerTimeLimit properties of the DirectorySearcher class appear to have no effect. After further testing I've discovered that the problem is caused because I was using sub second timeout periods eg 500ms - and the LDAP server I'm accessing (GDS) only supports timeout periods of whole number seconds. HTH Tim
This occurs when using ADSI (ActiveDs.dll) when retreiving a property value whose type (in the schema) is not the same as that specified in the method you use. In my case I was trying to access a property which was a dn (distinguished name), however the method I was using to retrieve the value was defaulting to type ADSTYPEENUM.ADSTYPE_CASE_IG... This caused the following error: Exception Information****************... Type: System.Runtime.InteropServi...