[389-users] LDAP Groups in sudoers file.

2019-07-17 Thread Abhisheyk Deb
Hi, We have a ldap group called *ldapadmin *defined on our LDAP servers running 389 Directory Server. On the LDAP Client side. We have the following line added in */etc/sudoers* *%ldapadmin ALL=(ALL:ALL) ALL* We are able to login as a LDAP user which is part of the *ldapadmin *group and are

[389-users] Re: LDAP Groups in sudoers file.

2019-07-17 Thread Paul Whitney
The one thing I would look at is your /etc/sssd/sssd.conf file. Assuming you are configured for LDAP, you could exclude the the local admin account in the [nss] section with the "filter_users" setting. Example: [nss] filter_users = root,nagios,local_admin_acct That should get SSSD to not

[389-users] Re: LDAP Groups in sudoers file.

2019-07-17 Thread Abhisheyk Deb
Hi Paul, Thank you for your reply, apparently the LDAP client was configured using nslcd. We have a similar configuration file called /etc/nslcd.conf and a parameter called nss_initgroups_ignoreusers which I have set to ALLLOCAL. This can be useful in case of unavailability of the LDAP server,

[389-users] Re: 389-DS Downgrade Breaks dirsrv.target

2019-07-17 Thread William Brown
Dirsrv.target was a "mistake" added by someone at RH. I removed it a few years ago, and it probably just got to you now. It should never have been added, and existed because I think people didn't really know how systemd dependencies worked. It caused no end of issues because people didn't

[389-users] Re: Recommended SLAPD cache sizes

2019-07-17 Thread William Brown
Generally the advice is: * autotune everything * handtune everything. IMO, autotuning is better (but I did write it, so I'm biased), and don't touch the "split" because we've seen lots of communication issues and challenges trying to educate about how the query processing works in the server

[389-users] Re: LDAP Groups in sudoers file.

2019-07-17 Thread William Brown
> On 18 Jul 2019, at 02:56, Abhisheyk Deb wrote: > > Hi, > > We have a ldap group called ldapadmin defined on our LDAP servers running 389 > Directory Server. > > On the LDAP Client side. We have the following line added in /etc/sudoers > %ldapadmin ALL=(ALL:ALL) ALL > > We are able to