04-18-2005 07:34 AM - edited 03-13-2019 08:47 AM
I am trying to write a C# application that extracts data from the Cisco CallManager directory. We have CallManager version 4.1. I seem to be able to connect to the server alright and I can get the list of property names but almost all of the values come back with the following error text "System.NotImplementedException: Handling of this ADSVALUE type is not yet implemented (type = 0xb).". I have tries using the C# DirectoryEntry and DirectorySearcher object and I have tried making straight ADSI calls. Neithor one works. Also, the number of properties is quite small. Has anyone seen this problem and do you have a solution. I will really appreciate any help. I have attached a small file with some sample output.
ADSVALUE
error
05-05-2005 04:13 AM
As an alternative for querying CallManager DC Directory or other LDAP based directories I can
strongly recommend LDAP Libraries for C# which are available as open source from Novell.
http://forge.novell.com/modules/xfmod/project/?ldapcsharp
In order to use it you will have to install Mono as well.
I suggest you download the Samples from Novell and create a new console application using
"search.cs". I have just tried it out and after passing a string similar like the following
search.exe callmanager_ip 8404 "cn=Directory Manager,o=cisco.com" password "ou=Users,o=cisco.com" "(objectclass=*)"
directory entries will be returned like this one:
cn=rperzul,ou=Users,o=cisco.com
userPassword;hash-md5value:A2BFOlNE
ciscoatUserProfileStringvalue:cn=rperzul-profile, ou=profiles, ou=CCN, o=cisco.com
cnvalue:rperzul
snvalue:Perzul
givenNamevalue:Ronald
objectClassvalue:inetOrgPerson
mailvalue:rperzul
ciscoatUserProfilevalue:cn=rperzul-profile,ou=profiles,ou=CCN,o=cisco.com
ciscoatGUIDvalue:-{650401215122003}
telephoneNumbervalue:67
Hope that helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide