Fails in this run [root@server2 samba]# cat /etc/hosts | /usr/bin/smbclient //desk1/HPOffice -U "root%password" -d 5 -c "print -" [2004/01/02 21:52:09, 5] lib/debug.c:debug_dump_status(359) INFO: Current debug levels: all: True/5 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 [2004/01/02 21:52:09, 3] param/loadparm.c:lp_load(3918) lp_load: refreshing parameters [2004/01/02 21:52:09, 3] param/loadparm.c:init_globals(1304) Initialising global parameters [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(95) Attempting to register new charset UCS-2LE [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(103) Registered charset UCS-2LE [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(95) Attempting to register new charset UTF8 [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(103) Registered charset UTF8 [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(95) Attempting to register new charset ASCII [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(103) Registered charset ASCII [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(95) Attempting to register new charset 646 [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(103) Registered charset 646 [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(95) Attempting to register new charset ISO-8859-1 [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(103) Registered charset ISO-8859-1 [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(95) Attempting to register new charset UCS2-HEX [2004/01/02 21:52:09, 5] lib/iconv.c:smb_register_charset(103) Registered charset UCS2-HEX [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 3] param/params.c:pm_process(566) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2004/01/02 21:52:09, 3] param/loadparm.c:do_section(3421) Processing section "[global]" doing parameter workgroup = THOMASHOUSE doing parameter server string = Samba Server2 doing parameter netbios name = server2 [2004/01/02 21:52:09, 4] param/loadparm.c:handle_netbios_name(2708) handle_netbios_name: set global_myname to: SERVER2 doing parameter hosts allow = 192.168.100. 192.168.101. 192.168.102 127. doing parameter printcap name = /etc/printcap doing parameter load printers = yes doing parameter log file = /var/log/samba/log.%m doing parameter max log size = 50 doing parameter security = user doing parameter encrypt passwords = yes doing parameter passwd program = /usr/bin/passwd %u doing parameter passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* doing parameter username map = /etc/samba/smbusers doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 doing parameter remote announce = 192.168.100.255 192.168.101.255 192.168.102.255 doing parameter local master = yes doing parameter os level = 34 doing parameter domain master = yes doing parameter preferred master = yes doing parameter domain logons = yes doing parameter logon script = %U.bat doing parameter logon path = \\%L\profile\%U doing parameter logon home = \\%L\profile\%U doing parameter wins support = yes doing parameter dns proxy = no doing parameter deadtime = 30 doing parameter read size = 512 doing parameter max xmit = 17384 doing parameter locking = yes doing parameter time server = yes doing parameter nt acl support = Yes doing parameter profile acls = No doing parameter guest account = ntguests [2004/01/02 21:52:09, 4] param/loadparm.c:lp_load(3950) pm_process() returned Yes [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 5] lib/charcnv.c:charset_name(74) Substituting charset 'ISO-8859-15' for LOCALE [2004/01/02 21:52:09, 2] lib/interface.c:add_interface(79) added interface ip=68.193.153.48 bcast=68.193.159.255 nmask=255.255.240.0 [2004/01/02 21:52:09, 2] lib/interface.c:add_interface(79) added interface ip=192.168.100.2 bcast=192.168.100.255 nmask=255.255.255.0 [2004/01/02 21:52:09, 2] lib/interface.c:add_interface(79) added interface ip=192.168.101.7 bcast=192.168.101.255 nmask=255.255.255.0 [2004/01/02 21:52:09, 2] lib/interface.c:add_interface(79) added interface ip=192.168.75.1 bcast=192.168.75.255 nmask=255.255.255.0 [2004/01/02 21:52:09, 5] lib/util.c:init_names(270) Netbios name list:- my_netbios_names[0]="SERVER2" [2004/01/02 21:52:09, 3] client/client.c:main(2953) Client started (version 3.0.1). [2004/01/02 21:52:09, 5] lib/gencache.c:gencache_init(59) Opening cache file at /var/lib/samba/gencache.tdb [2004/01/02 21:52:09, 5] tdb/tdbutil.c:tdb_log(724) tdb(unnamed): tdb_brlock failed (fd=3) at offset 4 rw_type=1 lck_type=13: Resource temporarily unavailable [2004/01/02 21:52:09, 5] libsmb/namecache.c:namecache_fetch(201) name desk1#20 found. [2004/01/02 21:52:09, 3] lib/util_sock.c:open_socket_out(706) Connecting to 192.168.101.197 at port 445 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_KEEPALIVE = 0 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_REUSEADDR = 0 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_BROADCAST = 0 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option TCP_NODELAY = 1 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_LOWDELAY = 0 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option IPTOS_THROUGHPUT = 0 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDBUF = 16384 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVBUF = 16384 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDLOWAT = 1 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVLOWAT = 1 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_SNDTIMEO = 0 [2004/01/02 21:52:09, 5] lib/util_sock.c:print_socket_options(105) socket option SO_RCVTIMEO = 0 [2004/01/02 21:52:09, 4] client/client.c:do_connect(2562) session request ok [2004/01/02 21:52:09, 5] lib/util.c:show_msg(456) [2004/01/02 21:52:09, 5] lib/util.c:show_msg(459) size=85 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=2124 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]= 2563 (0xA03) smb_vwv[ 2]= 256 (0x100) smb_vwv[ 3]= 1024 (0x400) smb_vwv[ 4]= 17 (0x11) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 227 (0xE3) smb_vwv[11]=57472 (0xE080) smb_vwv[12]=59033 (0xE699) smb_vwv[13]=42131 (0xA493) smb_vwv[14]=50129 (0xC3D1) smb_vwv[15]=11265 (0x2C01) smb_vwv[16]= 1 (0x1) smb_bcc=16 [2004/01/02 21:52:09, 5] lib/util.c:show_msg(456) [2004/01/02 21:52:09, 5] lib/util.c:show_msg(459) size=85 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=2124 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]= 2563 (0xA03) smb_vwv[ 2]= 256 (0x100) smb_vwv[ 3]= 1024 (0x400) smb_vwv[ 4]= 17 (0x11) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 227 (0xE3) smb_vwv[11]=57472 (0xE080) smb_vwv[12]=59033 (0xE699) smb_vwv[13]=42131 (0xA493) smb_vwv[14]=50129 (0xC3D1) smb_vwv[15]=11265 (0x2C01) smb_vwv[16]= 1 (0x1) smb_bcc=16 [2004/01/02 21:52:09, 4] lib/time.c:get_serverzone(122) Serverzone is 18000 [2004/01/02 21:52:09, 2] libsmb/cliconnect.c:cli_session_setup_spnego(665) Doing spnego session setup (blob length=16) [2004/01/02 21:52:09, 3] libsmb/cliconnect.c:cli_session_setup_spnego(669) server didn't supply a full spnego negprot [2004/01/02 21:52:09, 5] lib/util.c:show_msg(456) [2004/01/02 21:52:09, 5] lib/util.c:show_msg(459) size=412 smb_com=0x73 smb_rcls=22 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=2124 smb_uid=2048 smb_mid=2 smt_wct=4 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 412 (0x19C) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 295 (0x127) smb_bcc=369 [2004/01/02 21:52:09, 5] lib/util.c:show_msg(456) [2004/01/02 21:52:09, 5] lib/util.c:show_msg(459) size=412 smb_com=0x73 smb_rcls=22 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=2124 smb_uid=2048 smb_mid=2 smt_wct=4 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 412 (0x19C) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 295 (0x127) smb_bcc=369 [2004/01/02 21:52:09, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(833) Got challenge flags: [2004/01/02 21:52:09, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60890215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_CHAL_TARGET_INFO NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2004/01/02 21:52:09, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(855) NTLMSSP: Set final flags: [2004/01/02 21:52:09, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60080215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2004/01/02 21:52:09, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(922) NTLMSSP challenge set by NTLM2 [2004/01/02 21:52:09, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(923) challenge is: [2004/01/02 21:52:09, 5] lib/util.c:dump_data(1830) [000] 65 CB BE 2C 74 5A 95 C0 e˾,tZ.À [2004/01/02 21:52:09, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(295) NTLMSSP Sign/Seal - Initialising with flags: [2004/01/02 21:52:09, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60080215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2004/01/02 21:52:09, 5] lib/util.c:show_msg(456) [2004/01/02 21:52:09, 5] lib/util.c:show_msg(459) size=35 smb_com=0x73 smb_rcls=70 smb_reh=205 smb_err=46026 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=2124 smb_uid=2048 smb_mid=3 smt_wct=0 smb_bcc=0 [2004/01/02 21:52:09, 5] lib/util.c:show_msg(456) [2004/01/02 21:52:09, 5] lib/util.c:show_msg(459) size=35 smb_com=0x73 smb_rcls=70 smb_reh=205 smb_err=46026 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=2124 smb_uid=2048 smb_mid=3 smt_wct=0 smb_bcc=0 [2004/01/02 21:52:09, 3] libsmb/cliconnect.c:cli_session_setup(809) SPENGO login failed: NT code 0xb3cacd46 session setup failed: NT code 0xb3cacd46