[Bug 288405] net/samba420: ntacl sysvolcheck and ntacl sysvolreset both fail with OSError
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jul 2025 14:16:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288405
Bug ID: 288405
Summary: net/samba420: ntacl sysvolcheck and ntacl sysvolreset
both fail with OSError
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: samba@FreeBSD.org
Reporter: dweimer@dweimer.net
Assignee: samba@FreeBSD.org
Flags: maintainer-feedback?(samba@FreeBSD.org)
I was having problems with an upgraded Domain controller and backup domain
controller not allowing windows clients access to group policy objects. After
investigation I found out that the ACL part appears to be broken. I was running
on ZFS, but switched my backup domain controller to UFS files system for sysvol
and that didn't change result.
Running FreeBSD 14.3-p1
root@samba:/usr/local/etc # samba-tool ntacl sysvolcheck -d 3
lpcfg_load: refreshing parameters from /usr/local/etc/smb4.conf
Initialising global parameters
lp_load_ex: refreshing parameters
Processing section "[global]"
Processing section "[sysvol]"
Processing section "[netlogon]"
ldb_wrap open of idmap.ldb
ERROR(<class 'OSError'>): Could not access /var/db/samba4/sysvol/dweimer.me:
Invalid argument - [Errno 22] Invalid argument:
'/var/db/samba4/sysvol/dweimer.me'
File "/usr/local/lib/python3.11/site-packages/samba/netcmd/ntacl.py", line
484, in run
provision.checksysvolacl(samdb, netlogon, sysvol,
File "/usr/local/lib/python3.11/site-packages/samba/provision/__init__.py",
line 1881, in checksysvolacl
fsacl = getntacl(lp, dir_path, session_info,
direct_db_access=direct_db_access, service=SYSVOL_SERVICE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/samba/ntacls.py", line 113, in
getntacl
attribute = samba.xattr_native.wrap_getxattr(file,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
You are receiving this mail because:
You are the assignee for the bug.