[Pkg-samba-maint] Bug#496786: Bug#496786: Is #496786 (net rpc shutdown problem) still in 3.2.5?

Filipe R. Fonseca filiperf at correcorrecorre.net
Fri Dec 26 20:14:32 UTC 2008


Christian Perrier wrote:
> Quoting Filipe R. Fonseca (filiperf at correcorrecorre.net):
>> Same here; if it is of any value, Ubuntu 8.10 is broken (I do know this
>> is not Ubuntu, but still, you might find useful this kind information).
> 
> 
> As they're using the same packages than Debian, this is indeed of not
> much surprise.
> 
> But thanks anyway for the care you took bringing precisions...

Hi,

Did the following.

Downloaded samba-3.2.6.tar.gz from samba.org, untared, and just run
"./configure" followed by "make" under the "samba-3.2.6/source" folder;
chdir to "bin", then "export
LD_LIBRARY_PATH=/usr/local/src/samba-3.2.6/source/bin" and "./net rpc
shutdown -r -f -t 0 -d 3 -W DTSI-RSISTEMAS -U Administrator -S
192.168.1.66".

Worked for me (output bellow). I'm running an "up to date" Lenny
installation.

BTW, I guess you already know of these, but anyway (seemed like the same
thing to me):

https://bugzilla.novell.com/show_bug.cgi?id=424634
https://bugzilla.samba.org/show_bug.cgi?id=5898

If you like, I may try the same thing with samba-3.2.5.tar.gz from
samba.org, as bug #5898 from Samba states the issue is dealt with in
3.2.5. (I do not know if the changes that were made from the original
tar.gz are supposed to affect anything in Debian).

Kind regards,

Filipe

DTSIrs02:/usr/local/src/samba-3.2.6/source/bin# ./net rpc shutdown -r -f
-t 0 -d 3 -W DTSI-RSISTEMAS -U Administrator -S 192.168.1.66
[2008/12/26 20:00:47,  3] param/loadparm.c:lp_load_ex(8753)
  lp_load_ex: refreshing parameters
[2008/12/26 20:00:47,  3] param/loadparm.c:init_globals(4597)
  Initialising global parameters
[2008/12/26 20:00:47,  0] param/params.c:OpenConfFile(531)
  params.c:OpenConfFile() - Unable to open configuration file
"/usr/local/samba/lib/smb.conf":
  	No such file or directory
[2008/12/26 20:00:47,  2] lib/util_file.c:map_file(239)
  map_file: Failed to load /usr/local/samba/lib/valid.dat - No such file
or directory
[2008/12/26 20:00:47,  2] lib/util_unistr.c:init_valid_table(204)
  creating default valid table
[2008/12/26 20:00:47,  2] lib/interface.c:add_interface(337)
  added interface eth1 ip=172.16.1.68 bcast=172.16.3.255
netmask=255.255.252.0
[2008/12/26 20:00:47,  2] lib/interface.c:add_interface(337)
  added interface eth0 ip=192.168.1.68 bcast=192.168.3.255
netmask=255.255.252.0
[2008/12/26 20:00:47,  2] lib/interface.c:add_interface(337)
  added interface eth2 ip=10.128.194.68 bcast=10.128.194.255
netmask=255.255.255.0
Enter Administrator's password:
[2008/12/26 20:00:51,  3] libsmb/cliconnect.c:cli_start_connection(1632)
  Connecting to host=192.168.1.66
[2008/12/26 20:00:51,  3] lib/util_sock.c:open_socket_out(1331)
  Connecting to 192.168.1.66 at port 445
[2008/12/26 20:00:51,  3] libsmb/cliconnect.c:cli_session_setup_spnego(804)
  Doing spnego session setup (blob length=115)
[2008/12/26 20:00:51,  3] libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=1 2 840 48018 1 2 2
[2008/12/26 20:00:51,  3] libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=1 2 840 113554 1 2 2
[2008/12/26 20:00:51,  3] libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=1 2 840 113554 1 2 2 3
[2008/12/26 20:00:51,  3] libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=1 3 6 1 4 1 311 2 2 10
[2008/12/26 20:00:51,  3] libsmb/cliconnect.c:cli_session_setup_spnego(839)
  got principal=dtsi-rsistemas$@CI-MEDIA.PT
[2008/12/26 20:00:51,  3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1025)
  Got challenge flags:
[2008/12/26 20:00:51,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x62898215
[2008/12/26 20:00:51,  3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1047)
  NTLMSSP: Set final flags:
[2008/12/26 20:00:51,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2008/12/26 20:00:51,  3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337)
  NTLMSSP Sign/Seal - Initialising with flags:
[2008/12/26 20:00:51,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2008/12/26 20:00:51,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine 192.168.1.66 pipe \lsarpc fnum 0x4004
bind request returned ok.
[2008/12/26 20:00:51,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine 192.168.1.66 pipe \initshutdown fnum
0x4005 bind request returned ok.

Shutdown of remote machine succeeded
[2008/12/26 20:00:51,  2] utils/net.c:main(1172)
  return code = 0


-- 
/// Filipe R. Fonseca <filiperf at correcorrecorre.net>





More information about the Pkg-samba-maint mailing list