[Samba] Failed to prepare gensec: NT_STATUS_INVALID_SERVER_STATE

Rowland penny rpenny at samba.org
Wed Mar 31 14:55:40 UTC 2021


On 31/03/2021 15:47, Stefan Bellon via samba wrote:
> 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 ... :-}


It cannot, because 'root' is hardcoded.

Rowland





More information about the samba mailing list