freezing-father-76422
01/11/2023, 7:28 PMbulky-soccer-26729
01/11/2023, 9:49 PMfreezing-father-76422
01/12/2023, 6:40 AMbindDN: CN=Datahub,CN=Users,DC=ad,DC=dev,DC=company,DC=io
bindPW: securepassword
groupSearch:
baseDN: OU=Group,DC=ad,DC=dev,DC=company,DC=io
groupAttr: member
nameAttr: name
userAttr: distinguishedName
host: <http://ad.dev.company.io:389|ad.dev.company.io:389>
insecureNoSSL: true
userSearch:
baseDN: CN=Users,DC=ad,DC=dev,DC=company,DC=io
emailAttr: mail
idAttr: cn
nameAttr: name
username: cn
what should I set in jaas.conf then?bulky-soccer-26729
01/12/2023, 3:27 PMWHZ-Authentication {
com.sun.security.auth.module.LdapLoginModule sufficient
userProvider="ldaps://<host>:636/dc=<domain>"
authIdentity="{USERNAME}"
userFilter="(&(objectClass=person)(uid={USERNAME}))"
java.naming.security.authentication="simple"
debug="false"
useSSL="true";
};freezing-father-76422
01/12/2023, 3:28 PMfreezing-father-76422
01/12/2023, 3:30 PMauthIdentity="{USERNAME} ? Or it should be authIdentity="Datahub" id my bindDN is CN=Datahub,CN=Users,DC=ad,DC=dev,DC=company,DC=io?bulky-soccer-26729
01/12/2023, 4:14 PMfreezing-father-76422
01/12/2023, 4:15 PMbrainy-tent-14503
01/12/2023, 8:59 PMWHZ-Authentication {
com.sun.security.auth.module.LdapLoginModule sufficient
userProvider="ldap://<host>:389/dc=ad,dc=dev,dc=company,dc=io"
authIdentity="{USERNAME}"
userFilter="(&(|(samAccountName={USERNAME})(userPrincipalName={USERNAME})(cn={USERNAME}))(objectClass=user))"
java.naming.security.authentication="simple"
debug="false"
useSSL="true";
};brainy-tent-14503
01/12/2023, 9:00 PMbrainy-tent-14503
01/12/2023, 9:01 PM