You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ldap-ad {
//AD example config
com.sun.security.auth.module.LdapLoginModule REQUIRED
userProvider="ldap://xx.xx.xx.xx:389/dc=domain,dc=us"
//authIdentity=sAMAccountName
userFilter="(&(samAccountName={USERNAME})(objectClass=user))"
authzIdentity="{displayName}" //set this to return full name
java.naming.security.authentication="simple"
java.naming.security.principal="cn=ldapacct,ou=ServiceAccounts,dc=domain,dc=us"
java.naming.security.credentials="password"
useSSL=false
debug=true;
};
Now I have to connect to a secured ldaps server with the following:
ldap-ad {
//AD example config
com.sun.security.auth.module.LdapLoginModule REQUIRED
userProvider="ldap://ldaps.domain.corp:636/dc=domain,dc=corp"
//authIdentity=sAMAccountName
userFilter="(&(samAccountName={USERNAME})(objectClass=user))"
authzIdentity="{displayName}" //set this to return full name
java.naming.security.authentication="simple"
java.naming.security.principal="cn=sys_gcp_bastion_ldaps,OU=Top,OU=ServiceAccounts,OU=Accounts,OU=Systems,OU=Corporate,DC=domain,DC=corp"
java.naming.security.credentials="password"
useSSL=true
serverCertificate="/etc/ssl/certificates/keystore.new"
debug=true;
};
I have set up ldaps without using SSL. This works
ldap-ad {
//AD example config
com.sun.security.auth.module.LdapLoginModule REQUIRED
userProvider="ldap://xx.xx.xx.xx:389/dc=domain,dc=us"
//authIdentity=sAMAccountName
userFilter="(&(samAccountName={USERNAME})(objectClass=user))"
authzIdentity="{displayName}" //set this to return full name
java.naming.security.authentication="simple"
java.naming.security.principal="cn=ldapacct,ou=ServiceAccounts,dc=domain,dc=us"
java.naming.security.credentials="password"
useSSL=false
debug=true;
};
Now I have to connect to a secured ldaps server with the following:
ldap-ad {
//AD example config
com.sun.security.auth.module.LdapLoginModule REQUIRED
userProvider="ldap://ldaps.domain.corp:636/dc=domain,dc=corp"
//authIdentity=sAMAccountName
userFilter="(&(samAccountName={USERNAME})(objectClass=user))"
authzIdentity="{displayName}" //set this to return full name
java.naming.security.authentication="simple"
java.naming.security.principal="cn=sys_gcp_bastion_ldaps,OU=Top,OU=ServiceAccounts,OU=Accounts,OU=Systems,OU=Corporate,DC=domain,DC=corp"
java.naming.security.credentials="password"
useSSL=true
serverCertificate="/etc/ssl/certificates/keystore.new"
debug=true;
};
Errors
The text was updated successfully, but these errors were encountered: