From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 710383858C52 for ; Fri, 23 Sep 2022 07:54:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 710383858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663919670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uHQqncQPrrixtUHxsKsa/nE49LxDFIoXPgRGzPW7Rv4=; b=T7GmVWsiL/pyKVjXxm6Enc7Dr7N+InhM83BfHJzAXOMi6j4u+ea1Xz8tp0s3bg9xwb7uen +MzgJGrnoeDpXMhh2n6XBEWx4Wb5k99WuRQK/Xv3/zccpLLVhEjSFB85/63yE/dVAjMQWq MJDEFo2ilTrJe7WaJqTGcQeEUdvJ5qw= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-608-fNSMRmDyPnWvZK_JFRyeBQ-1; Fri, 23 Sep 2022 03:54:29 -0400 X-MC-Unique: fNSMRmDyPnWvZK_JFRyeBQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B87A73C0ED4C; Fri, 23 Sep 2022 07:54:28 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2997340C6EC2; Fri, 23 Sep 2022 07:54:28 +0000 (UTC) From: Florian Weimer To: Stef Bon Cc: Stef Bon via Libc-help Subject: Re: Howto determine a shared/network source of users and groups is active? References: <87v8peekok.fsf@oldenburg.str.redhat.com> Date: Fri, 23 Sep 2022 09:54:26 +0200 In-Reply-To: (Stef Bon's message of "Fri, 23 Sep 2022 09:18:17 +0200") Message-ID: <87edw2edal.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Stef Bon: >> This seems to be something that needs FreeIPA or perhaps Kerberos >> support, so I'd suggest to ask on those lists. > > That is an idea, but to begin with is there a way/tool to detect the > sources /databases of the passwd and group in Linux? Other than > scanning the /etc/nsswitch.conf file? > > So probably not. No, I don't think so. The LDAP integration module probably isn't even called =E2=80=9Cldap=E2=80=9D. For example, in Fedora and downstreams, it'= s called =E2=80=9Csss=E2=80=9D. Thanks, Florian