[Samba] Shutting down WinXP Pro instance

Daniel Müller mueller at tropenklinik.de
Wed Jan 26 00:05:18 MST 2011


Enable privileges=yes in your global config
Add user administrator to samba
Then add administrator to the "Domain Admins"
The next steps look here:
http://book.opensourceproject.org.cn/sysadmin/samba/howto2nd/opensource/0131
882228/ch12lev1sec5.html
Then:
My System:

[root at ctdb1 ~]# net rpc rights list -U root%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

net rpc rights grant Administrator SeRemoteShutdownPrivilege -U
Administrator%password


-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von compdoc
Gesendet: Mittwoch, 26. Januar 2011 03:24
An: 'Joe Tseng'; 'samba list'
Betreff: Re: [Samba] Shutting down WinXP Pro instance

[>] >...And no I still can't shutdown using "net rpc shutdown -d 10 -I
10.1.0.154 -U root".
[>] >:(

[>] > - Joe

You might have to set this:

To enable/disable the shutdown in Windows XP/2003 without logging in:

1.Start the Local Security Policies snapin 2.In the tree-view go to Local
Policies -> Security Options 3.Change the option Shutdown: Allow system to
be shut down without having to log on


Also, there is no root user in Windows...


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



More information about the samba mailing list