Hello,
I have problems with ldap and apache. I have an openLDAP backend (slapd) managed from phpldapadmin and a very simple groups/users setup.
dc=fritz,dc=box
cn=ldapreader
-ou=groups
-cn=sysops
ou=users
-cn=foo
-cn=bar
both users are member of sysops (gid and memberUid)
In my virtual host configuration of apache I have the following statements:
Code:
AuthName "test"
AuthType Basic
AuthBasicProvider ldap
#ldap user who can read database
AuthLDAPBindDN "cn=ldapreader,dc=fritz,dc=box"
AuthLDAPBindPassword "pass"
AuthLDAPUrl "ldap://localhost/ou=users,dc=fritz,dc=box?uid"
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
Require ldap-group cn=sysops,ou=groups,dc=fritz,dc=box
I can login as foo
but I cannot login as bar
(and any subsequent created users)
If I change Require to "valid-users" I can login with both users. So it is releated to require ldap-group.
any suggestions?