Dear Team,
we found an error message spamming in the daemon.log every time sudo is used:
May 18 13:20:39 svrpnim daemon:warn|warning secldapclntd: 3001-718 Failed to search (&(objectclass=nisnetgroup)(cn=))) from the LDAP server.
May 18 13:20:41 svrpnim daemon:warn|warning secldapclntd: 3001-718 Failed to search (&(objectclass=nisnetgroup)(cn=))) from the LDAP server.
May 18 13:20:42 svrpnim daemon:warn|warning secldapclntd: 3001-718 Failed to search (&(objectclass=nisnetgroup)(cn=))) from the LDAP server.
May 18 13:20:44 svrpnim daemon:warn|warning secldapclntd: 3001-718 Failed to search (&(objectclass=nisnetgroup)(cn=))) from the LDAP server.
We now found out, that sudo_ids seems not to check the /etc/security/ldap/ldap.cfg file for further ldap configurations.
So we copied following line into sudo-ldap.conf and it seems to be the solution for us:
netgroup_base ou=NETGROUP,ou=UNIXAUTH,ou=APPLIKATIONEN,ou=SERVICES,ou=...
Why does sudo not use the ldap.cfg config file?
best regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
------------------------------
#AIXOpenSource