public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Stef Bon via Libc-help <libc-help@sourceware.org>
Cc: Stef Bon <stefbon@gmail.com>
Subject: Re: Howto determine a shared/network source of users and groups is active?
Date: Fri, 23 Sep 2022 07:14:51 +0200	[thread overview]
Message-ID: <87v8peekok.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <CANXojcwngshK5GsswWLOo8UKX__8eFs7a5bCa9B9RnS3rfL+-g@mail.gmail.com> (Stef Bon via Libc-help's message of "Thu, 22 Sep 2022 15:40:35 +0200")

* 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


  reply	other threads:[~2022-09-23  5:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-22 13:40 Stef Bon
2022-09-23  5:14 ` Florian Weimer [this message]
2022-09-23  7:18   ` Stef Bon
2022-09-23  7:54     ` Florian Weimer
2022-10-05 17:28       ` Stef Bon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8peekok.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=libc-help@sourceware.org \
    --cc=stefbon@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).