From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oPGiOdS0QGIvNAEAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 21:02:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MNj8MdS0QGJfSAEAG6o9tA (envelope-from ) for ; Sun, 27 Mar 2022 21:02:44 +0200 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 6A0E61754F for ; Sun, 27 Mar 2022 21:02:44 +0200 (CEST) Received: from localhost ([::1]:60212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYY9z-0005pF-7J for larch@yhetil.org; Sun, 27 Mar 2022 15:02:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYY6Q-00045Q-J8 for guix-patches@gnu.org; Sun, 27 Mar 2022 14:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYY6Q-0007TG-Ak for guix-patches@gnu.org; Sun, 27 Mar 2022 14:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYY6Q-0000Uf-8u for guix-patches@gnu.org; Sun, 27 Mar 2022 14:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54561] [PATCH 1/4] services: Add samba service. Resent-From: fesoj000 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Mar 2022 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54561 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Streit Cc: 54561@debbugs.gnu.org Received: via spool by 54561-submit@debbugs.gnu.org id=B54561.16484075191869 (code B ref 54561); Sun, 27 Mar 2022 18:59:02 +0000 Received: (at 54561) by debbugs.gnu.org; 27 Mar 2022 18:58:39 +0000 Received: from localhost ([127.0.0.1]:56546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYY63-0000U5-7x for submit@debbugs.gnu.org; Sun, 27 Mar 2022 14:58:39 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:39880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYY60-0000Tq-9y for 54561@debbugs.gnu.org; Sun, 27 Mar 2022 14:58:37 -0400 Received: by mail-ej1-f54.google.com with SMTP id dr20so24527444ejc.6 for <54561@debbugs.gnu.org>; Sun, 27 Mar 2022 11:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=yS9uaSMHA0VPzV7QlWEjqdE6boSwPUnTUDNCyY0uFC0=; b=PFY0Kr9XBckp+30x0SpZd1IoIK3AQc28Ibl0RIVOjY4jD+ALGzGh9OTulxW8RQYqkj oizVvpGpc3r9zFAY86sWEqZLOuPZi1Hfw3+XRJcBkL+cTz2DLc4jzd3zYUvosesPYvrh SNPIj92kaEGZ1WLxDNeTqJpQLSBV0k+xqIgFaBKjY1M9sOuS5AjrbcMizGGfZGvlmQPQ 65HAt73nM1+i0MoCXotN/VriIQrqjBeLCqBdCaTRZk8j5s47sraNa3ljSgDI34Nv65Q/ JErGGQ2RsUoXTOM08Qn+9itfVjNS3tY5y/nw9pmkFW8MaPToUFFgCJxolLks9HIflsXY 8HMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=yS9uaSMHA0VPzV7QlWEjqdE6boSwPUnTUDNCyY0uFC0=; b=obd3NPg49Z53nKOfrGqpZR0UxTm1q0/Tht7iakRbT65NIEx2tH2y8kMzeFoF/4XJYt xwAwv57DkIcVQ9KZPR9lSe1QurrUuuliwsPbggB4fsBgnI/85gdpIELx2lZLPmbwrxrR ZBwOBfNJ39ROoPxOaatzVek/4jOomlXJ6zJqToKcvBNzsdgnBjz96qd7EpGoaP4PnqaH 1VUFQzY87mMhePIzRP+xjJQs6JF3Zeep20RtapaCo4zZYd8+d8U9wLjQjVxDkPTb+5Sn gkTxwCqBQVwjo9CuJR9+4VfJi7kXncszufD/jtL8xCqo/cxD3wqudjMs6IapHPJgGppm OKGA== X-Gm-Message-State: AOAM532aXYIzwrrrAFWuMj3fODccHWmK2uwDD7lcKU0RDbSl8ML3BMqX c/C6HLSU6pa6yczkBcnOf6k= X-Google-Smtp-Source: ABdhPJyotTVR4nNwwVIcNkUfbsovmLahjOYqRsrp1FSkSlWx1ozdaIMYakrdOTXVJ/bvrIlVARSGcA== X-Received: by 2002:a17:906:c111:b0:6db:cf0e:3146 with SMTP id do17-20020a170906c11100b006dbcf0e3146mr23649912ejc.280.1648407510178; Sun, 27 Mar 2022 11:58:30 -0700 (PDT) Received: from ?IPV6:2003:ee:af13:4e00:138c:330:2a14:b8fb? (p200300eeaf134e00138c03302a14b8fb.dip0.t-ipconnect.de. [2003:ee:af13:4e00:138c:330:2a14:b8fb]) by smtp.gmail.com with ESMTPSA id js20-20020a17090797d400b006dfad24c5efsm4860783ejc.44.2022.03.27.11.58.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Mar 2022 11:58:29 -0700 (PDT) Message-ID: Date: Sun, 27 Mar 2022 20:58:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US References: <2f1eb553-2d1d-2e83-1412-948011d502cc@gmail.com> From: fesoj000 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648407764; 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=yS9uaSMHA0VPzV7QlWEjqdE6boSwPUnTUDNCyY0uFC0=; b=JGrnsLvGgz4oHf3thra6uwgGV/W6y4XqbseF7WK3BbplLbGa2oTqHgbpS/1okTIqZsaQZv I+vKmM+5xbk1h6rGjFNkq/Z29Oxc3kEW/gsczWBuANnUMlfPGeeqv6oq5Ic6A7Y1nCqmDN 8Vv294hHE3oWAhlFTFewkSiYTnpbVFtzFUsHPZ1dbyOOLSapFEGL+gT9XxnihzFONdg2t9 eVI8beyE+79k6CPndgE1azNOy3KljNJoVkf8w2iUllrVsmOmmtcE5IAgNZf2/qlmm4U/dI ZW9j2y68f9dPSgvRw/VLFxlgUw5nNGZfM88om+uajlF1LTzudRdrKhbNe+/1xA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648407764; a=rsa-sha256; cv=none; b=iZOr5wtNAOlvVeuMrsH6LNw4rTJvAYeTehbL1eWyNkumAT3k5TTc3taI8jnLmM9IqOjL9P VbYIKoEaHQCehdCXZi2I81KXwsAxz/oHZK78xHMwZd+WAbBNxJ1gP1tu73FpidY12A6uFH bobCC97+uKpQIsDfKv4EQXy2okSZPLI2NTe+n/33pvTv6pTMp/Zb7JmeOQW8Qz8Noto/gO SAhyYw4iCA0gTJ2hLMLWZLwZd3yrcRWkPDc0KcLpw9QJti8/gfqQUp6A/98jKG5fy3lu1L xnCtMC6qly+adSnjvxwjMRY4glimxsrqQeO2GmmBy6Y2RYeamDCyGxR8nwTJNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PFY0Kr9X; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 5.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PFY0Kr9X; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 6A0E61754F X-Spam-Score: 5.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: Jbb3wMO5kXYL On 3/27/22 8:48 PM, Simon Streit wrote: > fesoj000 writes: > >> I have a local service definition for samba i wanted to upstream >> at some point. Your service looks better then mine though. > > Thanks. It still counts as my first try writing a service. > >> fyi: I currently use samba as an AD DC. > > Impressive! It might be quite interesting to see how you managed to set > up an AD DC. I stopped after certain tools began to crash. I tried to > solve them here [1]. I just noticed that you had pushed some patches > some time ago too [2]. They're both addressing the same issues. In > this case your patches are looking better than mine. > > That means these tools are working for you now? > > [1] https://issues.guix.gnu.org/52976 > [2] https://issues.guix.gnu.org/54266 I mostly followed the step by step guide in the samba wiki [0]. I use this AD DC mostly for testing and developing (kerberos, ldap). While following the step by step guide i found that samba-tool and friends are not working, so i tried to fix them, and yes, they do work for me currently using my patch. My main motivation for running samba as AD DC is that i want to port sssd to guix. Currently i have a hack for glibc which solves the libnss module lookup issue. But all this needs more polish and time.... [0] https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller