From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2ESHMx3OTWaXlAAAqHPOHw:P1 (envelope-from ) for ; Wed, 22 May 2024 12:51:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2ESHMx3OTWaXlAAAqHPOHw (envelope-from ) for ; Wed, 22 May 2024 12:51:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-nantes.fr header.s=mailv2 header.b=NypSsdSF; dkim=fail ("headers rsa verify failed") header.d=univ-nantes.fr header.s=mailv2 header.b=NypSsdSF; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-nantes.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716375069; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3QBE35usha6cnat5Hh0jnV4OvaFZl2WBpDouGRkOQXI=; b=pfADNG+YW5X8SKEoBOrrgWuQspHTY3/JA7qv0LfvlZBlSe0hkHC4UnFTec9fpzvM2+ZUqO MERaHqfMrop13yU6Xu6cHIaqa3dIreigY2xDiFuEbx5AQGp3eIUi9dLNatGWGhhCw053mG agDSKnQ3WEa+UYUymObHRjD/B7TVM93Ee0YMJufgWmMMnmfHDd+RBa3GqtxOGOdt+aBLjl 3+47epaqkw5i8SQNmKWY4IkgM26TGz5fVegj6KJiM6bqHX5Tnt+oR9tkn7xzpHEBBgoEPq R3YBE5G+Rd1qLDRsK+hwhXysFXJ1ZAxhWWA+xo6BT5KNYmn66pqMr6jPDn8XoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-nantes.fr header.s=mailv2 header.b=NypSsdSF; dkim=fail ("headers rsa verify failed") header.d=univ-nantes.fr header.s=mailv2 header.b=NypSsdSF; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-nantes.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716375069; a=rsa-sha256; cv=none; b=a8l0Cm5ThiiNK7suaON6jJN6wJNCMPamKCg+CEZGd/GK3yXqGAgDr+L9P3z1w0R1Jhwdkd yQqxQQFatPhyRBHN43+L7R/vc3fxDnF+i5aaACA6jV7P8OUx32tUJteTyEqnxoteumM+zT vAk2e7q6kU+2s16WPRRLTeYonFK53TyO1MICKyOOT7Al6NF1L0WYUGFdWR8MVE+lJbIH0U qJGFcBDCs4asFLIZ/EeXTFt2cKxtLSUTroY3M8bljoT+Oqzw9cUrI/ayEbFbta4JLHIQg2 fX7xC0x/oo4rSnuz5vSoAZMgiIpSsRphQpCE2Ulkeg6+bLvvewwQFekMEUPHsw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9BF1B78D51 for ; Wed, 22 May 2024 12:51:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9j3i-0001vv-Ck; Wed, 22 May 2024 06:18:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9j3g-0001tT-9l for guix-patches@gnu.org; Wed, 22 May 2024 06:18:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9j3g-0005tY-0g for guix-patches@gnu.org; Wed, 22 May 2024 06:18:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9j3l-0000wn-Lk for guix-patches@gnu.org; Wed, 22 May 2024 06:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#52578] [PATCH v2 0/2] OpenLDAP service Resent-From: Jean-Francois GUILLAUME Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 May 2024 10:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52578 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 52578@debbugs.gnu.org, zimoun Received: via spool by 52578-submit@debbugs.gnu.org id=B52578.17163731193634 (code B ref 52578); Wed, 22 May 2024 10:19:01 +0000 Received: (at 52578) by debbugs.gnu.org; 22 May 2024 10:18:39 +0000 Received: from localhost ([127.0.0.1]:55016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9j3O-0000wY-DB for submit@debbugs.gnu.org; Wed, 22 May 2024 06:18:38 -0400 Received: from smtptls1-cha.cpub.univ-nantes.fr ([193.52.103.113]:59828 helo=smtp-tls.univ-nantes.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9j3J-0000wS-VM for 52578@debbugs.gnu.org; Wed, 22 May 2024 06:18:37 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id 7A06620415; Wed, 22 May 2024 12:18:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1716373106; bh=3QBE35usha6cnat5Hh0jnV4OvaFZl2WBpDouGRkOQXI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NypSsdSFAFVN9oqRM0sBjbLdJ1syem7ZX47EN9bdS6YMtab01rAzCmJzoYXVFoFkn iQNTT+sJT2h3EwrIuVr73DCZVBUqdjddtylJQI9WDWr15znxtTwNIC/akEMC3m1dEY RQCN/uWPk7MNRynnNw2DyIL1J+b+yqJSaNl2ggQc6NOGnOnn92vNeH2fH4Cmktb4Ld 7L6PwTgOpuMGYxuSxXLvcmUo15RWxiMsvLpRJUTJH872jtdmR6C482rvDzKRWp+/DD 28G+ScZWPlEY/ybiEMdZS1tjjbUxAifb9MsUrhxt9RoAGioshNbYvx7ifwuQ8+SfwI hGf6Fl8I8Q/sA== X-Virus-Scanned: Debian amavisd-new at smtptls1-lmb.cpub.univ-nantes.fr Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtptls1-cha.cpub.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S_1SlJw_TmZz; Wed, 22 May 2024 12:18:26 +0200 (CEST) Received: from webmail.univ-nantes.fr (webmail1-lmb.cprv.univ-nantes.prive [172.26.0.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id 3C65320224; Wed, 22 May 2024 12:18:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1716373106; bh=3QBE35usha6cnat5Hh0jnV4OvaFZl2WBpDouGRkOQXI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NypSsdSFAFVN9oqRM0sBjbLdJ1syem7ZX47EN9bdS6YMtab01rAzCmJzoYXVFoFkn iQNTT+sJT2h3EwrIuVr73DCZVBUqdjddtylJQI9WDWr15znxtTwNIC/akEMC3m1dEY RQCN/uWPk7MNRynnNw2DyIL1J+b+yqJSaNl2ggQc6NOGnOnn92vNeH2fH4Cmktb4Ld 7L6PwTgOpuMGYxuSxXLvcmUo15RWxiMsvLpRJUTJH872jtdmR6C482rvDzKRWp+/DD 28G+ScZWPlEY/ybiEMdZS1tjjbUxAifb9MsUrhxt9RoAGioshNbYvx7ifwuQ8+SfwI hGf6Fl8I8Q/sA== Received: from 2001:660:7220:389:a67e:3f00:6b3e:234c via revaccess1-loi.cpub.univ-nantes.fr ([193.52.103.62]) by webmail.univ-nantes.fr with HTTP (HTTP/1.1 POST); Wed, 22 May 2024 12:18:26 +0200 MIME-Version: 1.0 Date: Wed, 22 May 2024 12:18:26 +0200 From: Jean-Francois GUILLAUME In-Reply-To: <874jax8nxx.fsf@gnu.org> References: <20220325153439.1478493-1-zimon.toutoune@gmail.com> <874jax8nxx.fsf@gnu.org> Message-ID: <19b42dec8e36a294542a44cacaa7d593@univ-nantes.fr> X-Sender: Jean-Francois.Guillaume@univ-nantes.fr Organization: UFR MEDECINE/UMS BIOCORE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 2.64 X-Migadu-Queue-Id: 9BF1B78D51 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 2.64 X-TUID: TboqQb4NYdob Hello, > Damn, it=E2=80=99s been two years already since you submitted these OpenL= DAP > patches. =F0=9F=98=B1 Well, damn the time fly fast... > You probably had problems with the NSS plugins to get LDAP user/group > lookups working. I have good news: > probably fixes that. We indeed had a probl=C3=A8me with lookup, we did trace it back to the=20 libnss-ldap not in the correct path. We are doing a quick and dirty fix=20 for now using our rc-local service : > mount -o remount,rw /gnu/store > echo 'export LD_LIBRARY_PATH=3D"/run/current-system/profile/lib"' >>=20 > /run/current-system/profile/etc/profile > echo " " >> /run/current-system/profile/etc/profile > mount -o remount,ro /gnu/store Theses services indeed need some love, especially on the config file=20 part. At glicid we are building it by using split files : > (define slapd-part-1a (call-with-input-file=20 > "../common/conf/slapd-part-01-a.conf" get-string-all)) > (define openldap-modules-path (string-append "modulepath " (with-store=20 > store (package-output store glicid:openldap)) "/libexec/openldap")) > (define slapd-part-1b (call-with-input-file=20 > "../common/conf/slapd-part-01-b.conf" get-string-all)) > (define slapd-part-serverid (call-with-input-file=20 > "./conf/serverID.conf" get-string-all)) > (define slapd-part-2 (call-with-input-file=20 > "../common/conf/slapd-part-02.conf" get-string-all)) > (define slapd-part-syncrepl (call-with-input-file=20 > "./conf/syncrepl.conf" get-string-all)) > (define slapd-part-3 (call-with-input-file=20 > "../common/conf/slapd-part-03.conf" get-string-all)) > (define slapd-conf-file (plain-file "slapd-merged.conf" > (string-append slapd-part-1a > =20 > openldap-modules-path > slapd-part-1b > slapd-part-serverid > slapd-part-2 > slapd-part-syncrepl > slapd-part-3))) But it definitively need some love to have a proper config file builder=20 (way above my current guix/guile expertise). --- Cordialement, Jean-Fran=C3=A7ois GUILLAUME Ing=C3=A9nieur Syst=C3=A8mes, R=C3=A9seaux, Virtualisation Plateforme Bioinformatique BiRD, GLiCID, Nantes Universit=C3=A9, CHU Nantes= ,=20 CNRS, Inserm, BioCore, US16, SFR Bonamy, F t=C3=A9l : 02-28-08-00-57 (320057) mail: Jean-Francois.Guillaume@univ-nantes.fr B=C3=A2timent 06, IRS UN - 8 quai Moncousu - BP 70721 - 44007 Nantes Cedex 1 https://www.pf-bird.univ-nantes.fr/ https://clam.glicid.fr/ https://www.univ-nantes.fr/