Ich habe ein Problem mit novell.ldap. Die Verbindung ist erfolgreich. Ich habe den Test Server Server http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server verwendet. In ldap Browser erfolgreich Testmaske "(cn = italians)" angewendet. Aber nicht in meinem Code .. Was mache ich falsch?Not work Suche im Active Directory
LdapConnection conn = new LdapConnection();
conn.Connect("ldap.forumsys.com", 389);
conn.Bind("cn=read-only-admin,dc=example,dc=com", "password");
LdapSearchResults searchResults_ = conn.Search("dc=example,dc=com", LdapConnection.SCOPE_SUB, "(cn=italians)", null, false);
conn.Disconnect();
Scheint, dass Sie Ihre searchResults_ nicht aufzählen. Sehen Sie sich Folgendes an: http://www.novell.com/documentation/developer/samplecode/jldap_sample/ – jwilleke