Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing LDAP eDirectory 8.8 through .Net 1

Status
Not open for further replies.

AndyH1

Programmer
Jan 11, 2004
350
GB
I need to access a Novell eDirectory 8.8 through .net (C#) using asp.net 3.5. I haven't accessed an LDAP database before but know that theres issues with non-Microsoft ones (at least there used to be). I was wondering if someone could point me to code to do this, thats the best method of doing it nowdays (ones I found on the net seem old). The LDAP requires a username and password and I simply want to go to that users details and check a field called isMember which is a flag giving their level 0,1,2.

The login (bind) is in the form
cn=USERNAME,ou=users,o=mycompany
which I gather is pretty standard

Hope someone can help
Thanks
Andy
 
you can try the Directory Services binaries. You will need to reference this assembly in you project
Project > Add Reference > .Net > System.DirectoryServices.dll.

All the MS documentation talks about Active Directory. but AD is just an LDAP database. I would assume you can query Novell eDirectory 8.8 through DirectoryServices the same way you can query Active Directory.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Jason,

Thanks for the help. Sorry for not replying sooner, but unfortunately haven't had access to tektips for a few days as the site I was working on didn't allow external access.

Unfortunately I can't check out if it can talk to eDirectory as I haven't got access to the domain yet, but will try once this is done

Thanks again
Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top