C# LDAP libraries and ASP.NET

W

walterd

Hi All

I am trying to authenticate users against a Novell LDAP v3 using ASP.NET
and C# LDAP classes. I have compiled the files to one assembly and
reference it in my code. My problem is the following: I can connect
successfully to the LDAP server, but as soon as I try to Search or Bind,
the following error occurs - "Server did not return any data". Here is the
code sample:

using Novell.Directory.Ldap;

LdapConnection ldapConn = new LdapConnection;
ldapConn.Connect("192.000.0.00",389); // use proper LDAP Server IP Address
if(ldapConn.Connected)
{
ldapConn.Bind("cn=yourname,ou=IT,ou=WEB,o=ORG","password");
}

PLEASE HELP!!! I really need some HELP here. The LDAP directory has the
following schema or structure: ORG -> WEB -> IT -> user data
I did not find any documentation with the C# LDAP classes and URGENTLY
need some help in searching and binding.

All help is HIGHLY APPRECIATED.

Thank you
Walter
 
W

Willy Denoyette [MVP]

Not sure why you call these C# Ldap classes, as they are not part of the
FCL, I would call Novell for help or/and consult the novell doc's.

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top