Hi all,
i am trying to use ldap with OpenLDAP but it is not working. In gui i am unable to add group which is a first sign that something is off and also if do add group in config i get validate group fail and user is unable to authenticate. both in UI and using a script.
/scripts/auth_test.php -d -v -u myuser
My setup at the moment:
config.php
$config[‘auth_ldap_groups’][‘nms’][‘level’] = 5;
$ config [‘auth_mechanism’] = “ldap”;
then ldap specific stuff
-
auth_ldap_binddn
UID=user,CN=users,DC=domain,DC=local
-
auth_ldap_groupbase
CN=groups,DC=domain,DC=local
-
auth_ldap_groupmemberattr
memberOf
Bind to the LDAP works. But then when i try and search for users or auth user i am getting in the first case error 32 which means that there is nothing found in that group and in second case error 49 which wrong credentials. Weirdly enough i have a same setup for a whole bunch of other services without any issues.