[Samba] Failed to prepare gensec: NT_STATUS_INVALID_SERVER_STATE

Stefan Bellon bellon at axivion.com
Wed Mar 31 14:47:21 UTC 2021


On Wed, 31 Mar, L.P.H. van Belle via samba wrote:

> This is my output.  (Version 4.13.7-Debian) 
> Still from the same script (as used above) 
> 
> getfacl /var/lib/samba/sysvol/ 
> getfacl: Removing leading '/' from absolute path names
> # file: var/lib/samba/sysvol/
> # owner: root
> # group: BUILTIN\\administrators

Please help me understand ... I fail to see how the script you linked
- with the content -

Create_DC_SYVOL_ACL_FILE () {
    Get_DC_SERVER_OPERATORS
    Get_DC_ADMINISTRATORS
    Get_DC_SYSTEM
    Get_DC_AUTHENTICATED_USERS

    RIGHTSFILE="default-rights-sysvol.acl"
    cat << EOF > "${RIGHTSFILE}"
# file: ${DC_SYSVOL_PATH}
# owner: root
# group: root

can create something different than

# group: root

in its output ... :-}

Samba 4.13.5 from Debian Bullseye (testing), BTW.

Greetings,
Stefan

-- 
Stefan Bellon



More information about the samba mailing list