From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by sourceware.org (Postfix) with ESMTPS id 7C17D384D160 for ; Wed, 15 Jun 2022 09:58:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7C17D384D160 Received: by mail-qt1-x833.google.com with SMTP id hh4so7753977qtb.10 for ; Wed, 15 Jun 2022 02:58:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Vf6fDSjeeIJB1ybxYYIaWnbJVz0ewa0ouCKg3V8jisc=; b=17/hvYPucmSe4K8D05GPmwJ6dMij8uDffm4n6r8V2VAG87FPdyp4b+RJwo8hosmI9/ 0Xx+wKEPHeMdrutYku/Gk8wBFzNrROFn3tfuJ4TCt1NLe1cvBC9OS5iNTrHqhGkCxsBd P4ypyx7y10fGEVYKF3Pzsnh+OgCpIzwTq9CDx7iJKyfF/qFJ6tHyKf99jmmOTMH6eefS HnAX3TRm96kj9h6cILX3W/K/4hR1DUDT1Xplf2fpkF+yi8OKgQ/9avPYzNO4ZilXd+mX u+RQK00ofeWa6pbAFueKiOfDkzZYR0OuhPYyClK0IwD7X0EgS0W02OzMWy0vYptroHsh o/4Q== X-Gm-Message-State: AOAM532K4dMX5isP1awaSw/xmzJptxxSy9uEOWw/WCd3VFSicduQ10gQ vHB5Tzw01+sjaaO3SQOIADkzoTfmxAmnLanMkD3PGE346ec= X-Google-Smtp-Source: ABdhPJyAA1bfnGR0o9GNF/iUJTEjeLvS7FUVPF1xjKhOYt3XY6UsI/3YGS0fKZebd2XndOytMj3phDmSV3qbSiQhzek= X-Received: by 2002:a05:622a:1102:b0:305:2ef4:41be with SMTP id e2-20020a05622a110200b003052ef441bemr7911803qty.142.1655287091846; Wed, 15 Jun 2022 02:58:11 -0700 (PDT) MIME-Version: 1.0 References: <87r13qqxs7.fsf@oldenburg.str.redhat.com> <87fsk6qu9n.fsf@oldenburg.str.redhat.com> In-Reply-To: <87fsk6qu9n.fsf@oldenburg.str.redhat.com> From: Pranjal Goswami Date: Wed, 15 Jun 2022 15:28:00 +0530 Message-ID: Subject: Re: Need help with adding a new service to nsswitch.conf To: Florian Weimer Cc: Pranjal Goswami via Libc-help X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2022 09:58:13 -0000 Yes , by nss folder I meant the nss subdirectory in glibc . I will give it a try to build my nss module separately. Thanks for the guidance.! Regards Pranjal On Wed, Jun 15, 2022 at 12:37 PM Florian Weimer wrote: > * Pranjal Goswami: > > > I see. So we have an option of building my own NSS module outside the > > glibc build system , referencing and using > > NSS_DECLARE_MODULE_FUNCTIONS (secmgr) to get to the declarations for > > the plug-in functions. So it means that for writing a new module, we > > need and NSS_DECLARE_MODULE_FUNCTIONS (secmgr) only. There are > > no other changes to be done within the nss folder ? > > With =E2=80=9Cnss folder=E2=80=9D, do you mean the =E2=80=9Dnss=E2=80=9D = subdirectory in the glibc > source tree? You should not have to deal with the glibc sources at all, > you can build your NSS module separately. > > Thanks, > Florian > >