Malte Woelky
2004-Aug-23 04:00 UTC
[Samba] 'net rcp shudown' with mashine account (-n -P) possible???
Hello samba-list, I'm able to shutdown remote mashines using: supzli02pdc:~ # net rpc shutdown -S <target-pc> -U Administrator%<passwd> -r -t 1 --comment=Abmelden I wounder if this is also possible with an mashine account auth (from the PDC)? I couldn't get it to work: supzli02pdc:~ # net -n supzli02pdc -P rpc shutdown -r -t 1 -S <target-pc> --comment=Abmelden [2004/08/23 05:12:39, 0] utils/net_rpc.c:rpc_shutdown_internals(2766) Shutdown of remote machine failed! adding -I <target_ip> doesn't help Any sugestions ?? Question: Is this generally possible???? On the other hand quering user list works with -P : -------------------------------------------------- supzli02pdc:/ # net rpc user -P ====> works !! supzli02pdc:/ # net rpc user Password: Could not connect to server 127.0.0.1 The username or password was not correct. ====> so auth is required !!! -- Best regards, Malte mailto:malte.woelky@gmx.de _________________ Malte Woelky -=[SkyNet]=- Unix/DBs/Networks/LDAP/Active Directory Cert : MCSA 2000+2003, MCSA:msg, MCSE 2000+2003 voice : 0209/977 37 03 : 0173/90 32 167 eMail : Malte.Woelky@gmx.de WWW : http://www.woelky.net/ _________ ICQ# 12 767 43 99 _________
Andrew Bartlett
2004-Sep-02 03:05 UTC
[Samba] 'net rcp shudown' with mashine account (-n -P) possible???
On Mon, 2004-08-23 at 13:59, Malte Woelky wrote:> Hello samba-list, > > > I'm able to shutdown remote mashines using: > > supzli02pdc:~ # net rpc shutdown -S <target-pc> -U Administrator%<passwd> -r -t 1 --comment=Abmelden> I wounder if this is also possible with an mashine account auth (from the > PDC)? I couldn't get it to work:Two reasons: The user shutting down the machine needs that privilege, and only Admins have it by default. Also, machines cannot do an NTLM login, only a kerberos login, so it can't work with a Samba PDC. Andrew Bartlett -- Andrew Bartlett abartlet@samba.org Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20040902/ab88aca7/attachment.bin