From nobody Thu Feb 06 09:05:11 2025 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YpWQc3LwGz5nKGb for ; Thu, 06 Feb 2025 09:05:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YpWQc2gZGz3M2p for ; Thu, 06 Feb 2025 09:05:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738832712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VPAqlWW6GXfNiYswh2HpAGJXBdgdaPZ9fivj0WDGHEw=; b=eA3J+VRP9FD31UpMjYnqLS5aq6FTidAIRaik3/TvmwB30kfEfUH9ybgH7lVHWSKAR7xJGB fHEECJx3tEP2uj6siuOZx06tLYbEcu79Nl5SiW1T+EzQSWgzclzoab+A4mHipQAZ95qGS0 RuMqDiYiNWYyXyAt54r3tSCA5aY87voDTkvWOuLBOPa2EBfKwlY5qFZzH8LeEndIqbz0fA /zs36dxKydu3Ld6Qzdx8FK5h+whY4GYHscKwcv0w57TrnTn1xMXMmw7D6PqSYMZl2rEMbs gxbAetjUtcsdPjqnYJijKKL2Rh1GxYveFYysMWzEeLeyslBUc+CPgaR/xzsfjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738832712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VPAqlWW6GXfNiYswh2HpAGJXBdgdaPZ9fivj0WDGHEw=; b=tEMkmcgmB1bFxfI3QgXW0pZ+DbAUryFFkhw5kTdqIa1HvQyy62WtyKH6NgxAzYkGGgulSr AjVi9+pP/DKBhwoehJd4VAnzATtuUwWnqizvwpQx8fPl0vgNu/TSqCqSVS3lV3Oow1DWr5 im5ZAHk+HDMwV2X1swKIOKOIFx/qTyWIEbiPO0GyLmk0FfJDh81AMVIQR/8EZ3NtczY9jN IrLOfNjSYULFGJwxeFUrWwTrFqMqUbTEqw/PT+csOjBCLCwDEPEenOKN3l1SYaAHKfN8uj XWKhKZIaI14VdkSvD5+2/em6XcdMEAJK/HVt5whAkwpt7s9shTCtnBdLkO0zvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738832712; a=rsa-sha256; cv=none; b=YKtPXG4yBAXfCOkP6nliG7ISok9unTs2LWJvPAWpl1tvLHq9sSW5DLz4li77qgesSIc5Mh 0tmELKahA6CnvLPKRvV5l65NPm5oMmjjbMLVxFSVAeXQDnaPls/bhlp/mVSp5E6EfeWCbU /8XdoWdXnbgnsgnpzdvjgNNscQQSuP3ygzaAGbLE4Gv+y17pm8smJmlzbzdT4BdjWnT4OL ARb/rgJ7z93rJUXAxyubLG464zJEeIDEpvWbIQABKu0dXZHBrk/WGt39LWu+AUPqWJP8Du 5XRlXi2UqwJ7s1L88psDIIFh/Nr3R92O012vdRsenmR56Scv9shxLgC4kO/Evg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YpWQc1sBhzWnv for ; Thu, 06 Feb 2025 09:05:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51695CNx070755 for ; Thu, 6 Feb 2025 09:05:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51695CDP070743 for ports-bugs@FreeBSD.org; Thu, 6 Feb 2025 09:05:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 284603] net/samba420: samba-tool domain provision failed Date: Thu, 06 Feb 2025 09:05:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shellingfield@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: samba@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284603 Bug ID: 284603 Summary: net/samba420: samba-tool domain provision failed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: samba@FreeBSD.org Reporter: shellingfield@icloud.com Assignee: samba@FreeBSD.org Flags: maintainer-feedback?(samba@FreeBSD.org) env: - FreeBSD 14.2-RELEASE-p1 - net/samba420 command: # samba-tool domain provision --domain=3DDEV --realm=3Ddev.example.com --adminpass=3DXXXXXXXXXX --use-rfc2307 --dns-backend=3DBIND9_DLZ --server-r= ole dc result: WARNING: Using passwords on command line is insecure. Installing the setproctitle python module will hide these from shortly after program start. INFO 2025-02-06 10:38:31,462 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2119: Looking up IPv4 addresses INFO 2025-02-06 10:38:31,462 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2136: Looking up IPv6 addresses WARNING 2025-02-06 10:38:31,462 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2143: = No IPv6 address will be assigned INFO 2025-02-06 10:38:31,683 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2309: Setting up share.ldb INFO 2025-02-06 10:38:31,703 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2313: Setting up secrets.ldb INFO 2025-02-06 10:38:31,714 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2318: Setting up the registry INFO 2025-02-06 10:38:31,748 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2321: Setting up the privileges database INFO 2025-02-06 10:38:31,769 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2324: Setting up idmap db INFO 2025-02-06 10:38:31,784 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #2331: Setting up SAM db INFO 2025-02-06 10:38:31,793 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #882: Setting up sam.ldb partitions and settings INFO 2025-02-06 10:38:31,793 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #894: Setting up sam.ldb rootDSE INFO 2025-02-06 10:38:31,795 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1310: Pre-loading the Samba 4 and AD schema Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs INFO 2025-02-06 10:38:31,828 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1387: Adding DomainDN: DC=3Ddev,DC=3Dexample,DC=3Dcom INFO 2025-02-06 10:38:31,838 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1419: Adding configuration container INFO 2025-02-06 10:38:31,849 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1434: Setting up sam.ldb schema INFO 2025-02-06 10:38:33,535 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1454: Setting up sam.ldb configuration data INFO 2025-02-06 10:38:33,652 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1496: Setting up display specifiers INFO 2025-02-06 10:38:34,665 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1504: Modifying display specifiers and extended rights INFO 2025-02-06 10:38:34,689 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1511: Adding users container INFO 2025-02-06 10:38:34,691 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1517: Modifying users container INFO 2025-02-06 10:38:34,691 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1520: Adding computers container INFO 2025-02-06 10:38:34,692 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1526: Modifying computers container INFO 2025-02-06 10:38:34,693 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1530: Setting up sam.ldb data INFO 2025-02-06 10:38:34,792 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1561: Setting up well known security principals INFO 2025-02-06 10:38:34,812 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1575: Setting up sam.ldb users and groups INFO 2025-02-06 10:38:34,901 pid:66515 /usr/local/lib/python3.11/site-packages/samba/provision/__init__.py #1583: Setting up self join check_spn_alias_collision: trying to add SPN 'DNS/vm-freebsd2.dev.example.c= om' on 'CN=3Ddns-vm-freebsd2,CN=3DUsers,DC=3Ddev,DC=3Dexample,DC=3Dcom' when 'host/vm-freebsd2.dev.example.com' is on 'CN=3DVM-FREEBSD2,OU=3DDomain Controllers,DC=3Ddev,DC=3Dexample,DC=3Dcom' Repacking database from v1 to v2 format (first record CN=3Dms-DNS-Propagation-Time,CN=3DSchema,CN=3DConfiguration,DC=3Ddev,DC=3De= xample,DC=3Dcom) Repack: re-packed 10000 records so far Repacking database from v1 to v2 format (first record CN=3DdomainDNS-Display,CN=3D412,CN=3DDisplaySpecifiers,CN=3DConfiguration,D= C=3Ddev,DC=3Dexample,DC=3Dcom) Repacking database from v1 to v2 format (first record CN=3DAdminSDHolder,CN=3DSystem,DC=3Ddev,DC=3Dexample,DC=3Dcom) ERROR(): uncaught exception - name 'targetdir' is not defined File "/usr/local/lib/python3.11/site-packages/samba/netcmd/__init__.py", = line 285, in _run return self.run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/samba/netcmd/domain/provision.py", line 343, in run result =3D provision(self.logger, ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/samba/provision/__init__.py= ", line 2363, in provision provision_fill(samdb, secrets_ldb, logger, names, paths, File "/usr/local/lib/python3.11/site-packages/samba/provision/__init__.py= ", line 1972, in provision_fill if targetdir and smbd.have_nfsv4_acls() and smbd.has_nfsv4_acls(targetd= ir): ^^^^^^^^^ misc: - w/o --dns-backend=3DBIND9_DLZ, or adding --targetdir would not change at= all - this was worked on net/samba419. some files created in provisioning are successfully stored into /var/db/sam= ba4/ and also created /usr/local/etc/smb4.conf, but not completely. Regards, --=20 You are receiving this mail because: You are the assignee for the bug.=