title: LDAP error code 8 for some users but not others
body: <p>I have a some problems.</p>
  <p>Listed Error:</p>
  <pre><code>LDAP error code 8
  </code></pre>
  <p>Server log:</p>
  <pre><code>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 ]
  </code></pre>
  <p>Problem action(?):</p>
  <ul>
  <li><p>client to login request to server. and server send request to LDAP. Some people can login successfully, but for other some people login failed:</p>
  <p>LDAP response error code 8</p>
  </li>
  </ul>
  <p>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 ]]</p>
  <p>But I am using LDAP. no LDAPS.</p>
  <ul>
  <li>Some people said check under <code>KRDOM01 : HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ NTDS \ Parameters \ LDAPServerIntegrity = 1</code></li>
  </ul>
  <p>but my setting is already <code>LDAPServerIntegrity = 1</code></p>
  <p>My code:</p>
  <pre><code>    Hashtable&lt;String, Object&gt; env = new Hashtable&lt;String, Object&gt;();
      env.put(Context.INITIAL_CONTEXT_FACTORY, &quot;com.sun.jndi.ldap.LdapCtxFactory&quot;);
      env.put(Context.PROVIDER_URL, &quot;ldap://&quot;+host+&quot;:&quot;+port);
      env.put(Context.SECURITY_AUTHENTICATION, &quot;simple&quot;);
      env.put(Context.SECURITY_PRINCIPAL, principal);
      env.put(Context.SECURITY_CREDENTIALS, pwd);
  
  
      
  </code></pre>
  <p>Why can some people login ok, but some people got fail?</p>