Tuesday, March 22, 2022

[389-users] Re: Netrgoups referenced in the SUDOers Group do not work

Hi Tibor,
To give you more helpful advice, we'll need more info.

What package versions do you use?
Can you attach your server (access and error logs) and SSSD logs?
Also, it'll be helpful to see your netgroup entry and other related configuration.


P.S. I'd recommend also asking on sssd-users@lists.fedorahosted.org as they would have more experience with this kind of issue, AFAIK. 

On Tue, Mar 22, 2022 at 5:48 AM Dudas Tibor ABRAXAS <Tibor.Dudas@abraxas.ch> wrote:



My SUDOers group works with a dedicated sudoUser given, but not if I reference a Netgroup with the User given there.

Same for sudoHost.


Works not:




The netgroups can be resolved on the 389ds client, though:

[root@testldapclient01 ~]# getent netgroup ABX_user_test

ABX_user_test         ( ,axtsc,)


[root@testldapclient01 ~]# getent netgroup ABX_server_test

ABX_server_test       (testldapclient01,-,-) (testldapclient01.mydomain.com,-,-)


Changes in the SUDOers Group work only with some delay. Restart of sssd and relogin does not help. So it is a bit clumsy to test. Any help is highly appreciated.


Thanks, Tibor



389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

No comments:

Post a Comment