Ich habe ein paar Probleme.ldap Fehlercode 8 habe einige Leute
Listed Fehler:
LDAP error code 8 - server log javax.naming.AuthenticationNotSupportedException: [LDAP: error code 8 - 00002028: LdapErr: DSID-0C090202, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v2580 ]
- problem action(?)
client to login request to server.
and server send request to LDAP.
some people login sucess. but, other some people login failed.
LDAP response error code 8, and server log got [javax.naming.AuthenticationNotSupportedException: [LDAP: error code 8 - 00002028: LdapErr: DSID-0C090202, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, v2580 ]]
but i using LDAP. no LDAPS.
- some people said check under #1.
- #1. KRDOM01 : HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ NTDS \ Parameters \ LDAPServerIntegrity = 1
but #1 setting LDAPServerIntegrity = 1
- my code was
Hashtable<String, Object> env = new Hashtable<String, Object>();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://"+host+":"+port);
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, principal);
env.put(Context.SECURITY_CREDENTIALS, pwd);
why some people login ok, why some people got fail?
mir bitte helfen.
Haben Sie testen, mit sicherer Verbindung ldaps: // ...? – Jan
Nein, ich nicht. weil fast 2017.04 LDAP in Ordnung war. Client-Login-Fehler ist nicht aufgetreten. Warum sollte ich LDAPS verwenden? @ Jan –