Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Feb 2025 08:39:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 284531] net/samba420: samba-tool could not recognize ACLs support for UFS
Message-ID:  <bug-284531-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284531

            Bug ID: 284531
           Summary: net/samba420: samba-tool could not recognize ACLs
                    support for UFS
           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: shellingfield@icloud.com
          Assignee: samba@FreeBSD.org
             Flags: maintainer-feedback?(samba@FreeBSD.org)

env:
 - FreeBSD 14.2-RELEASE-p1
 - net/samba420

command:
samba-tool ntacl sysvolreset

result:
ERROR(<class 'samba.provision.ProvisioningError'>): uncaught exception -
ProvisioningError: Your filesystem or build does not support ACLs, which s3=
fs
requires.  Try the mounting the filesystem with the 'acl' option.
  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/ntacl.py", line
449, in run
    provision.setsysvolacl(samdb, sysvol,
  File "/usr/local/lib/python3.11/site-packages/samba/provision/__init__.py=
",
line 1690, in setsysvolacl
    raise ProvisioningError("Your filesystem or build does not support ACLs,
which s3fs requires.  "

this was worked on net/samba419 w/o this kind of error.


sysvol stored on /var have been mounted w/ acls correctly via /etc/fstab as
below

# cat /etc/fstab
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/vtbd0p2    /               ufs     rw,acls 1       1
/dev/vtbd0p1    /boot/efi       msdosfs rw      2       2
/dev/vtbd0p3    none            swap    sw      0       0

# mount
/dev/vtbd0p2 on / (ufs, local, soft-updates, journaled soft-updates, acls)
devfs on /dev (devfs)
/dev/vtbd0p1 on /boot/efi (msdosfs, local)
fdescfs on /var/run/samba4/fd (fdescfs)

# ls -ld /var/db/samba4/sysvol
drwxrwx---+ 3 root BUILTIN\administrators 512 Feb  3 17:21
/var/db/samba4/sysvol

# getfacl /var/db/samba4/sysvol/
# file: /var/db/samba4/sysvol/
# owner: root
# group: BUILTIN\administrators
user::rwx
user:root:rwx
user:BUILTIN\administrators:rwx
user:BUILTIN\server_operators:r-x
user:NT Authority\system:rwx
user:NT Authority\authenticated users:r-x
group::rwx
group:BUILTIN\administrators:rwx
group:BUILTIN\server_operators:r-x
group:NT Authority\system:rwx
group:NT Authority\authenticated users:r-x
mask::rwx
other::---


just i thought, this also could affect "samba-tool domain provision".

regards,

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284531-7788>