[Samba] Samba 3.0.20rc1 Available for Download
Thomas Bork
tombork at web.de
Sun Aug 7 19:24:58 GMT 2005
Thomas Bork schrieb:
> 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 #
Stopped Samba, deleted /var/lock/samba/account_policy.tdb, then
vmeis # /etc/init.d/samba start
Starting Samba...
nmbd is now running
smbd is now running
vmeis # net rpc rights grant "tb" SePrintOperatorPrivilege
Password:
Successfully granted rights.
vmeis # net rpc rights list accounts
Password:
BUILTIN\Print Operators
No privileges assigned
BUILTIN\Account Operators
No privileges assigned
BUILTIN\Backup Operators
No privileges assigned
VMEIS\tb
[2005/08/07 21:20:58, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438)
cli_pipe: return critical error. Error was Call returned zero bytes (EOF)
[2005/08/07 21:20:58, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438)
cli_pipe: return critical error. Error was Call returned zero bytes (EOF)
der tom
More information about the samba
mailing list