Gerald (Jerry) Carter wrote:

vmeis # net rpc rights grant "tb" SePrintOperatorPrivilege
Password:
Failed to grant privileges for tb (NT_STATUS_NO_SUCH_PRIVILEGE)
Do you have 'enable privileges = yes' in smb.conf ?  I should probably
prevent smbd from returning any list when the feature has been disabled.

And a message to set 'enable privileges = yes' in smb.conf

After setting 'enable privileges = yes' in smb.conf:

vmeis # net rpc rights grant "tb" SePrintOperatorPrivilege
Password:
Successfully granted rights.
vmeis # net rpc rights list accounts
Password:
VMEIS\tb
                           <------------- no output
                           <------------- no output
vmeis # net rpc rights list
Password:
     SeMachineAccountPrivilege  Add machines to domain
      SeTakeOwnershipPrivilege  Take ownership of files or other objects
             SeBackupPrivilege  Back up files and directories
            SeRestorePrivilege  Restore files and directories
     SeRemoteShutdownPrivilege  Force shutdown from a remote system
      SePrintOperatorPrivilege  Manage printers
           SeAddUsersPrivilege  Add users and groups to the domain
       SeDiskOperatorPrivilege  Manage disk shares
vmeis # net rpc rights grant "tb" SeMachineAccountPrivilege SePrintOperatorPrivilege SeAddUsersPrivilege SeRemoteShutdownPrivilege SeDiskOperatorPrivilege
Password:
Successfully granted rights.
vmeis # net rpc rights list accounts
Password:
VMEIS\tb
SePrintOperatorPrivilege
                           <------------- no output
                           <------------- no output
                           <------------- no output
                           <------------- no output
                           <------------- no output
vmeis #


der tom
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to