nginx-auth-ldap icon indicating copy to clipboard operation
nginx-auth-ldap copied to clipboard

401 without error message

Open ghost opened this issue 8 years ago • 1 comments

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";```

ghost avatar Nov 17 '17 13:11 ghost

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;

davama avatar Nov 17 '17 14:11 davama