Howto determine a shared/network source of users and groups is active?
Florian Weimer
fweimer@redhat.com
Fri Sep 23 05:14:51 GMT 2022
* Stef Bon via Libc-help:
> I can write an utility which
> scans every line in /etc/nsswitch.conf and test for words like ldap in
> the line starting with passwd: and group: (and also for sss).
> If found test it's working and also active on the server.
> Maybe you see, this is a lot of work, and testing of all kinds of possibilities.
> Is there a simpler way to do that? To get an unique id per user/group
> database or something like that.
Don't you also want to check that they use the *same* LDAP database?
This seems to be something that needs FreeIPA or perhaps Kerberos
support, so I'd suggest to ask on those lists.
Thanks,
Florian
More information about the Libc-help
mailing list