[Samba] granting SeDiskOperatorPrivilege

Stefan G. Weichinger lists at xunil.at
Tue Jul 24 07:48:45 UTC 2018


I fail to set SeDiskOperatorPrivilege on a samba DM and I suspect the
german umlauts:

# wbinfo -g
dom�nencomputer
dom�nen-benutzer
dom�nen-g�ste
dom�nen-admins

(bad locale, umlauts displayed as special ugly chars)

but the group "domänen-admins" = "Domain Admins" is there.

now:

# net rpc rights grant "CUSTOMER\domänen-admins" SeDiskOperatorPrivilege
-U "CUSTOMER\sgw"
Enter CUSTOMER\sgw's password:
Failed to grant privileges for CUSTOMER\domänen-admins
(NT_STATUS_NO_SUCH_USER)

(I also tried as CUSTOMER\Administrator ...)

Can I use some gid or so instead of the name?

I could maybe also ssh into with english locale, would that change the
displayed and used user/group-names as well?



More information about the samba mailing list