kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
735 stars 252 forks source link

401 without error message #191

Open ghost opened 6 years ago

ghost commented 6 years ago

I tried to setup nested groups. When I enter my credentials the popup appears again, but no error message is shown. Only when I enter an invalid user the error it writes "user not found" to the log file. Does somebody have an idea what is happening there?

Here is my server config:


binddn "uid=sys.secdashboard,ou=System Accounts,ou=Accounts,dc=<company>,dc=work";
binddn_passwd <password>;
group_attribute member;
group_attribute_is_dn on;
require group "cn=g-security_dasboard-admins,ou=security_dashboard,ou=Services,dc=<company>,dc=work";```
davama commented 6 years ago

Do you need quotes? My group membership settings. Using openldap

        url "ldap://localhost/dc=datacom,dc=net?uid?sub?(objectClass=posixAccount)";
    binddn "cn=authuser,dc=datacom,dc=net";
        binddn_passwd "<password>";
    require group "cn=config,ou=Group,dc=datacom,dc=net";
        group_attribute "memberUid";
        group_attribute_is_dn off;
    require valid_user;
    satisfy all;