Hi Samba folks! I have a problem concerning RPC calls. In a domain environment running 3.0.3pre2 I have no problems shutting down remote computers. I now have a small environment with only 2 computers in a workgroup. My samba server is running on a FreeBSD 5.4 box and my client is a Win XP Pro SP2 box. When I try to use net rpc shutdown -I 192.168.1.50 -U Administrator i get the response Remote shutdown failed and nothing happends. Anyone have any suggestions how to solve this? I've tried to disable the Win firewall but it makes no difference. In which logfile can I see more detailed info? Please help! //Henrik
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henrik Zagerholm wrote: | Hi Samba folks! | | I have a problem concerning RPC calls. | | In a domain environment running 3.0.3pre2 I have | no problems shutting down remote computers. | | I now have a small environment with only 2 computers in | a workgroup. My samba server is running on a FreeBSD | 5.4 box and my client is a Win XP Pro SP2 box. | | When I try to use net rpc shutdown -I 192.168.1.50 -U | Administrator i get the response Remote shutdown | failed and nothing happends. | | Anyone have any suggestions how to solve this? If you are using 3.0.20 in the new setup, this bug was fixed in 3.0.20a. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDQR38IR7qMdg1EfYRAnotAJ0XVpkfmGRKlcL7eD4wDJkAy86K+gCgt9ls lW2d1DIuD9kHwlpCVb+P8zY=hLzW -----END PGP SIGNATURE-----
You are right. I running 3.0.20 and not the latest "a" version. I did a portupgrade but I noticed that the freebsd portstree was not updated with the latest version. I'll compile from source and try again. I will report any solutions/problems that arise after the upgrade. Thanks for the info so far! 3 okt 2005 kl. 14.29 skrev Jim McDonough:>> In a domain environment running 3.0.3pre2 I have no problems shutting >> down remote computers. >> >> I now have a small environment with only 2 computers in a workgroup. >> >> My samba server is running on a FreeBSD 5.4 box and my client is a >> Win XP Pro SP2 box. >> > Ok, I'm assuming this is a newer version of samba? Can you tell us > exactly which? > > >> When I try to use net rpc shutdown -I 192.168.1.50 -U Administrator i >> get the response Remote shutdown failed and nothing happends. >> > ..... > >> In which logfile can I see more detailed info? >> > Try adding -d 5 to the commandline, though I'll warn you you'll get > a lot > of output to stderr. > > > > Two issues I've seen recently is that certain interim versions of > the code > have simply a broken net rpc shutdown that was fixed recently by > Jerry, > and also that with WinXP, especially if you're ever using remote > desktop, > the return code 1271 (0x4f7) comes back, which says that the system is > locked and can't be shutdown remotely except with the -f (force) flag. > > > ---------------------------- > Jim McDonough > IBM Linux Technology Center > Samba Team > 6 Minuteman Drive > Scarborough, ME 04074 > USA > > jmcd at us dot ibm dot com > jmcd at samba dot org > > Phone: 1-877-228-1846 > IBM tie-line: 349-5335 > >
>In a domain environment running 3.0.3pre2 I have no problems shutting >down remote computers. > >I now have a small environment with only 2 computers in a workgroup. > >My samba server is running on a FreeBSD 5.4 box and my client is a >Win XP Pro SP2 box.Ok, I'm assuming this is a newer version of samba? Can you tell us exactly which?>When I try to use net rpc shutdown -I 192.168.1.50 -U Administrator i >get the response Remote shutdown failed and nothing happends......>In which logfile can I see more detailed info?Try adding -d 5 to the commandline, though I'll warn you you'll get a lot of output to stderr. Two issues I've seen recently is that certain interim versions of the code have simply a broken net rpc shutdown that was fixed recently by Jerry, and also that with WinXP, especially if you're ever using remote desktop, the return code 1271 (0x4f7) comes back, which says that the system is locked and can't be shutdown remotely except with the -f (force) flag. ---------------------------- Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA jmcd at us dot ibm dot com jmcd at samba dot org Phone: 1-877-228-1846 IBM tie-line: 349-5335