Unable to connect to Active Directory using Java client with digest-md5, ssl enabled and qop auth-int/auth-conf when channel binding and signing are r

P

Pratik Savla

We are trying to connect to LDAP using below sample java code (Java 17).import javax.naming.*;import javax.naming.ldap.InitialLdapContext;import javax.naming.ldap.LdapContext;import java.util.Hashtable; public class LDAPBindSSLExample { public static void main(String[] args) throws Exception { String ldapURL = "ldaps://machine.domain.com:636"; String username = "username"; // without @domain String domainName = "domain.com"; String password = "password"; String timeout = "5000"; Hashtable<String, String> env = new Hashtable<>();

Continue reading...
 
Back
Top Bottom