[Samba] 'net rcp shudown' with mashine account (-n -P) possible???
Malte Woelky
Malte.Woelky at gmx.de
Mon Aug 23 03:59:58 GMT 2004
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 at 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 at gmx.de
WWW : http://www.woelky.net/
_________ ICQ# 12 767 43 99 _________
More information about the samba
mailing list