Hello team i have some question about ldap login m...
# getting-started
b
Hello team i have some question about ldap login module with jaas.conf i had jaas.conf with ldap module like this
Copy code
WHZ-Authentication {
com.sun.security.auth.module.LdapLoginModule sufficient
java.naming.security.authentication="simple"
userProvider="<ldap://ldap-server.mycompany.com>"
authIdentity="cn={USERNAME},OU={GROUP1},OU=user,OU=COMPANY,DC=mycompanyname,DC=com"
useSSL=false
debug=true;
};
and i need to add another group like
Copy code
cn={USERNAME},OU={GROUP2},OU=user,OU=COMPANY,DC=mycompanyname,DC=com
is there any method to this?? please help
plus1 1
b
What are you ultimately hoping to achieve?
b
i am hoping to achieve to allow login with two groups now i solved this by writing same login module twice.
Copy code
WHZ-Authentication {
com.sun.security.auth.module.LdapLoginModule sufficient
java.naming.security.authentication="simple"
userProvider="<ldap://ldap-server.mycompany.com>"
authIdentity="cn={USERNAME},OU={GROUP1},OU=user,OU=COMPANY,DC=mycompanyname,DC=com"
useSSL=false
debug=true;
com.sun.security.auth.module.LdapLoginModule sufficient
java.naming.security.authentication="simple"
userProvider="<ldap://ldap-server.mycompany.com>"
authIdentity="cn={USERNAME},OU={GROUP2},OU=user,OU=COMPANY,DC=mycompanyname,DC=com"
useSSL=false
debug=true;
};
n
Hi @breezy-shoe-41523, how did you get users to login with the ldap password? did you ingest users through the datahub interface, can you help me?
b
hello, do you know where is debug log file for ldap auth? in my logs i heva nothing