Click to See Complete Forum and Search --> : HELP with LDAP and DirectorySearcher


coolycat
December 3rd, 2002, 02:24 AM
Need urgent help with LDAP and DirectorySearcher class using
VB.NET.
I am currently using LDAP to access a specified x500 directory
to retrieve DNs and mHsORAddresses. I can easily get the
DNs since they are straight strings by looping through the
DirectorySearcher data type (ie., mySearcher) and
filtering per 'distinguishedname'. However, for the
'mhsoraddresses' attribute, I get this error...

"Handling of this ADSVALUE is not yet implemented (type = 0xb)"

I don't know how to resolve this. Is mhsoraddress an ASN.1
structure? If it is, then how do I dereference it so I can
get the data properly?

ANY HELP WOULD BE APPRECIATED!

Thanks in advance

Coolycat

balajigr1214
December 6th, 2002, 12:54 PM
Hi,

Could you mail me your code if you have done accessing LDAP from vb.net or vb6 and also how to insert into LDAP?

Thanks

Originally posted by coolycat
Need urgent help with LDAP and DirectorySearcher class using
VB.NET.
I am currently using LDAP to access a specified x500 directory
to retrieve DNs and mHsORAddresses. I can easily get the
DNs since they are straight strings by looping through the
DirectorySearcher data type (ie., mySearcher) and
filtering per 'distinguishedname'. However, for the
'mhsoraddresses' attribute, I get this error...

"Handling of this ADSVALUE is not yet implemented (type = 0xb)"

I don't know how to resolve this. Is mhsoraddress an ASN.1
structure? If it is, then how do I dereference it so I can
get the data properly?

ANY HELP WOULD BE APPRECIATED!

Thanks in advance

Coolycat