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
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