Bug 3954 - NT_STATUS_LOGON_FAILURE only when using 'tar' mode and -TcN flags
NT_STATUS_LOGON_FAILURE only when using 'tar' mode and -TcN flags
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.23
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-23 09:50 UTC by Bill Hudacek
Modified: 2014-09-23 15:37 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Hudacek 2006-07-23 09:50:48 UTC
Samba on Fedora Core-4.  Windows 98, Windows XP remote systems.

Yum just updated it to 3.0.23-1.fc4 from 3.0.14a-2.

I can log in (using smbclient directly) and browse files, transfer, etc.  I can also mount remote shares and see them from within Linux.

However, the most important usge of Samba by far is as a means for BackupPC to work.  I use 'tar' mode, using smbclient.  

N.B.  Full backups *still work*.  Incremental backups (-TcN "timestampfile") do not.  I've tested with PASSWD set, with -U "user%pass", and "interactively" --- but there is never a password prompt, even without the smbclient (not "tar mode") "-N" flag.

Here are two logs of failed attempt - with '-d 15', when connecting to a remote Win98 system, and a Win XP SP2 system. 

================================================================================
Command line:
/usr/bin/smbclient \\dish\cdrive -U GUEST -d 15 -c tarmode\ full -TcN /backup01/backuppc/pc/dish/timeStamp.level0  /tmp/tstit.tar   2>&1

Log:
INFO: Current debug levels:
  all: True/9
  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
  quota: False/0
  acls: False/0
  locking: False/0
  msdfs: False/0
  dmapi: False/0
Getting files newer than Sat Jul 22 12:00:12 2006
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter log level = 10
doing parameter workgroup = mywkgroup
doing parameter server string = Samba Server
doing parameter security = user
doing parameter load printers = yes
doing parameter cups options = raw
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 50
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter dns proxy = no
doing parameter idmap uid = 16777216-33554431
doing parameter idmap gid = 16777216-33554431
doing parameter template shell = /bin/false
doing parameter winbind use default domain = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
added interface ip=192.168.1.10 bcast=192.168.1.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="BackupPC"
Client started (version 3.0.23-1.fc4).
Opening cache file at /var/cache/samba/gencache.tdb
name dish#20 found.
Connecting to 192.168.1.40 at port 445
error connecting to 192.168.1.40:445 (Connection refused)
Connecting to 192.168.1.40 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option TCP_KEEPCNT = 9
socket option TCP_KEEPIDLE = 7200
socket option TCP_KEEPINTVL = 75
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(6,72)
write_socket(6,72) wrote 72
Sent session request
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
 session request ok
write_socket(6,183)
write_socket(6,183) wrote 183
size=77
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=0
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=2
smt_wct=17
smb_vwv[ 0]=    8 (0x8)
smb_vwv[ 1]=  514 (0x202)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]=26624 (0x6800)
smb_vwv[ 4]=   11 (0xB)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=18432 (0x4800)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=  896 (0x380)
smb_vwv[10]=    2 (0x2)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]= 2014 (0x7DE)
smb_vwv[13]= 4248 (0x1098)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]= 2048 (0x800)
smb_bcc=8
size=77
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=0
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=2
smt_wct=17
smb_vwv[ 0]=    8 (0x8)
smb_vwv[ 1]=  514 (0x202)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]=26624 (0x6800)
smb_vwv[ 4]=   11 (0xB)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=18432 (0x4800)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=  896 (0x380)
smb_vwv[10]=    2 (0x2)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]= 2014 (0x7DE)
smb_vwv[13]= 4248 (0x1098)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]= 2048 (0x800)
smb_bcc=8
write_socket(6,108)
write_socket(6,108) wrote 108
size=41
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=2049
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=3
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=0
size=41
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=2049
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=3
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=0
 session setup ok
write_socket(6,91)
write_socket(6,91) wrote 91
size=35
smb_com=0x75
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=136
smb_flg2=2049
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=4
smt_wct=0
smb_bcc=0
name dish#20 found.
Connecting to 192.168.1.40 at port 445
error connecting to 192.168.1.40:445 (Connection refused)
Connecting to 192.168.1.40 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option TCP_KEEPCNT = 9
socket option TCP_KEEPIDLE = 7200
socket option TCP_KEEPINTVL = 75
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(6,72)
write_socket(6,72) wrote 72
Sent session request
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
 session request ok
write_socket(6,183)
write_socket(6,183) wrote 183
size=77
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=0
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=2
smt_wct=17
smb_vwv[ 0]=    8 (0x8)
smb_vwv[ 1]=  514 (0x202)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]=26624 (0x6800)
smb_vwv[ 4]=   11 (0xB)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=18688 (0x4900)
smb_vwv[ 8]=  512 (0x200)
smb_vwv[ 9]=  896 (0x380)
smb_vwv[10]=    2 (0x2)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]= 2014 (0x7DE)
smb_vwv[13]= 4248 (0x1098)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]= 2048 (0x800)
smb_bcc=8
size=77
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=0
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=2
smt_wct=17
smb_vwv[ 0]=    8 (0x8)
smb_vwv[ 1]=  514 (0x202)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]=26624 (0x6800)
smb_vwv[ 4]=   11 (0xB)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=18688 (0x4900)
smb_vwv[ 8]=  512 (0x200)
smb_vwv[ 9]=  896 (0x380)
smb_vwv[10]=    2 (0x2)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]= 2014 (0x7DE)
smb_vwv[13]= 4248 (0x1098)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]= 2048 (0x800)
smb_bcc=8
write_socket(6,108)
write_socket(6,108) wrote 108
size=41
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=2049
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=3
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=0
size=41
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=2049
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=3
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=0
 session setup ok
write_socket(6,91)
write_socket(6,91) wrote 91
size=35
smb_com=0x75
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=136
smb_flg2=2049
smb_tid=0
smb_pid=2828
smb_uid=0
smb_mid=4
smt_wct=0
smb_bcc=0
tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
================================================================================

Windows XP attempt:
Command Line: 
/usr/bin/smbclient \\chubby\cdrive -U backuppc -d 15 -c tarmode\ full -TcN /tmp/xl.log   /tmp/tstit.tar   2>&1 

Log:
INFO: Current debug levels:
  all: True/15
  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
  quota: False/0
  acls: False/0
  locking: False/0
  msdfs: False/0
  dmapi: False/0
Getting files newer than Sun Jul 23 10:41:04 2006
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter log level = 10
doing parameter workgroup = hudacek_wg1
doing parameter server string = Samba Server
doing parameter security = user
doing parameter load printers = yes
doing parameter cups options = raw
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 50
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter dns proxy = no
doing parameter idmap uid = 16777216-33554431
doing parameter idmap gid = 16777216-33554431
doing parameter template shell = /bin/false
doing parameter winbind use default domain = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_STANDALONE
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
added interface ip=192.168.1.10 bcast=192.168.1.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="BackupPC"
Client started (version 3.0.23-1.fc4).
internal_resolve_name: looking up chubby#20
Opening cache file at /var/cache/samba/gencache.tdb
Returning expired cache entry: key = NBT/CHUBBY#20, value = 192.168.1.7:0, timeout = Tue Jul 18 22:06:17 2006
no entry for chubby#20 found.
Deleting cache entry (key = NBT/CHUBBY#20)
resolve_lmhosts: Attempting lmhosts lookup for name chubby<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost 
resolve_wins: Attempting wins lookup for name chubby<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name chubby<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for chubby#20: 192.168.1.7:0
Adding cache entry with key = NBT/CHUBBY#20; value = 192.168.1.7:0 and timeout = Sun Jul 23 10:53:00 2006
 (660 seconds ahead)
internal_resolve_name: returning 1 addresses: 192.168.1.7:0 
Connecting to 192.168.1.7 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option TCP_KEEPCNT = 9
socket option TCP_KEEPIDLE = 7200
socket option TCP_KEEPINTVL = 75
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
 session request ok
write_socket(6,183)
write_socket(6,183) wrote 183
got smb length of 85
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=29488
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]=14976 (0x3A80)
smb_vwv[12]=40440 (0x9DF8)
smb_vwv[13]=26154 (0x662A)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=    0 (0x0)
smb_bcc=16
[000] D8 47 A9 A1 AA 3C 86 48  BE 2D F1 ED 3C 59 A6 19  .G...<.H .-..<Y..
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=29488
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]=14976 (0x3A80)
smb_vwv[12]=40440 (0x9DF8)
smb_vwv[13]=26154 (0x662A)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=    0 (0x0)
smb_bcc=16
[000] D8 47 A9 A1 AA 3C 86 48  BE 2D F1 ED 3C 59 A6 19  .G...<.H .-..<Y..
Doing spnego session setup (blob length=16)
server didn't supply a full spnego negprot
write_socket(6,168)
write_socket(6,168) wrote 168
got smb length of 340
size=340
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  340 (0x154)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  223 (0xDF)
smb_bcc=297
[000] A1 81 DC 30 81 D9 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
[010] 06 01 04 01 82 37 02 02  0A A2 81 C3 04 81 C0 4E  .....7.. .......N
[020] 54 4C 4D 53 53 50 00 02  00 00 00 0C 00 0C 00 38  TLMSSP.. .......8
[030] 00 00 00 15 02 8A 62 8E  0E 59 E5 2B A1 D8 96 00  ......b. .Y.+....
[040] 00 00 00 00 00 00 00 7C  00 7C 00 44 00 00 00 05  .......| .|.D....
[050] 01 28 0A 00 00 00 0F 43  00 48 00 55 00 42 00 42  .(.....C .H.U.B.B
[060] 00 59 00 02 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[070] 00 59 00 01 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[080] 00 59 00 04 00 28 00 63  00 68 00 75 00 62 00 62  .Y...(.c .h.u.b.b
[090] 00 79 00 2E 00 68 00 75  00 64 00 61 00 63 00 65  .y...h.u .d.a.c.e
[0A0] 00 6B 00 73 00 2E 00 68  00 6F 00 6D 00 65 00 03  .k.s...h .o.m.e..
[0B0] 00 28 00 63 00 68 00 75  00 62 00 62 00 79 00 2E  .(.c.h.u .b.b.y..
[0C0] 00 68 00 75 00 64 00 61  00 63 00 65 00 6B 00 73  .h.u.d.a .c.e.k.s
[0D0] 00 2E 00 68 00 6F 00 6D  00 65 00 00 00 00 00 57  ...h.o.m .e.....W
[0E0] 00 69 00 6E 00 64 00 6F  00 77 00 73 00 20 00 35  .i.n.d.o .w.s. .5
[0F0] 00 2E 00 31 00 00 00 57  00 69 00 6E 00 64 00 6F  ...1...W .i.n.d.o
[100] 00 77 00 73 00 20 00 32  00 30 00 30 00 30 00 20  .w.s. .2 .0.0.0. 
[110] 00 4C 00 41 00 4E 00 20  00 4D 00 61 00 6E 00 61  .L.A.N.  .M.a.n.a
[120] 00 67 00 65 00 72 00 00  00                       .g.e.r.. .
size=340
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  340 (0x154)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  223 (0xDF)
smb_bcc=297
[000] A1 81 DC 30 81 D9 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
[010] 06 01 04 01 82 37 02 02  0A A2 81 C3 04 81 C0 4E  .....7.. .......N
[020] 54 4C 4D 53 53 50 00 02  00 00 00 0C 00 0C 00 38  TLMSSP.. .......8
[030] 00 00 00 15 02 8A 62 8E  0E 59 E5 2B A1 D8 96 00  ......b. .Y.+....
[040] 00 00 00 00 00 00 00 7C  00 7C 00 44 00 00 00 05  .......| .|.D....
[050] 01 28 0A 00 00 00 0F 43  00 48 00 55 00 42 00 42  .(.....C .H.U.B.B
[060] 00 59 00 02 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[070] 00 59 00 01 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[080] 00 59 00 04 00 28 00 63  00 68 00 75 00 62 00 62  .Y...(.c .h.u.b.b
[090] 00 79 00 2E 00 68 00 75  00 64 00 61 00 63 00 65  .y...h.u .d.a.c.e
[0A0] 00 6B 00 73 00 2E 00 68  00 6F 00 6D 00 65 00 03  .k.s...h .o.m.e..
[0B0] 00 28 00 63 00 68 00 75  00 62 00 62 00 79 00 2E  .(.c.h.u .b.b.y..
[0C0] 00 68 00 75 00 64 00 61  00 63 00 65 00 6B 00 73  .h.u.d.a .c.e.k.s
[0D0] 00 2E 00 68 00 6F 00 6D  00 65 00 00 00 00 00 57  ...h.o.m .e.....W
[0E0] 00 69 00 6E 00 64 00 6F  00 77 00 73 00 20 00 35  .i.n.d.o .w.s. .5
[0F0] 00 2E 00 31 00 00 00 57  00 69 00 6E 00 64 00 6F  ...1...W .i.n.d.o
[100] 00 77 00 73 00 20 00 32  00 30 00 30 00 30 00 20  .w.s. .2 .0.0.0. 
[110] 00 4C 00 41 00 4E 00 20  00 4D 00 61 00 6E 00 61  .L.A.N.  .M.a.n.a
[120] 00 67 00 65 00 72 00 00  00                       .g.e.r.. .
Got challenge flags:
Got NTLMSSP neg_flags=0x628a0215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_CHAL_ACCEPT_RESPONSE
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_CHAL_TARGET_INFO
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
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
NTLMSSP challenge set by NTLM2
challenge is: 
[000] 4E C9 E8 EA 3A 24 4B 9D                           N...:$K. 
NTLMSSP Sign/Seal - Initialising with flags:
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
write_socket(6,274)
write_socket(6,274) wrote 274
got smb length of 35
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=3
smt_wct=0
smb_bcc=0
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=3
smt_wct=0
smb_bcc=0
SPNEGO login failed: Logon failure
lang_tdb_init: /usr/lib/samba/en_US.UTF-8.msg: No such file or directory
internal_resolve_name: looking up chubby#20
Returning valid cache entry: key = NBT/CHUBBY#20, value = 192.168.1.7:0, timeout = Sun Jul 23 10:53:00 2006
name chubby#20 found.
Connecting to 192.168.1.7 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option TCP_KEEPCNT = 9
socket option TCP_KEEPIDLE = 7200
socket option TCP_KEEPINTVL = 75
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
 session request ok
write_socket(6,183)
write_socket(6,183) wrote 183
got smb length of 85
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=29488
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]=30848 (0x7880)
smb_vwv[12]=41663 (0xA2BF)
smb_vwv[13]=26154 (0x662A)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=    0 (0x0)
smb_bcc=16
[000] D8 47 A9 A1 AA 3C 86 48  BE 2D F1 ED 3C 59 A6 19  .G...<.H .-..<Y..
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=29488
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]=30848 (0x7880)
smb_vwv[12]=41663 (0xA2BF)
smb_vwv[13]=26154 (0x662A)
smb_vwv[14]=50862 (0xC6AE)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=    0 (0x0)
smb_bcc=16
[000] D8 47 A9 A1 AA 3C 86 48  BE 2D F1 ED 3C 59 A6 19  .G...<.H .-..<Y..
Doing spnego session setup (blob length=16)
server didn't supply a full spnego negprot
write_socket(6,168)
write_socket(6,168) wrote 168
got smb length of 340
size=340
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  340 (0x154)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  223 (0xDF)
smb_bcc=297
[000] A1 81 DC 30 81 D9 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
[010] 06 01 04 01 82 37 02 02  0A A2 81 C3 04 81 C0 4E  .....7.. .......N
[020] 54 4C 4D 53 53 50 00 02  00 00 00 0C 00 0C 00 38  TLMSSP.. .......8
[030] 00 00 00 15 02 8A 62 6E  D7 83 5F F4 9E 8E 67 00  ......bn .._...g.
[040] 00 00 00 00 00 00 00 7C  00 7C 00 44 00 00 00 05  .......| .|.D....
[050] 01 28 0A 00 00 00 0F 43  00 48 00 55 00 42 00 42  .(.....C .H.U.B.B
[060] 00 59 00 02 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[070] 00 59 00 01 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[080] 00 59 00 04 00 28 00 63  00 68 00 75 00 62 00 62  .Y...(.c .h.u.b.b
[090] 00 79 00 2E 00 68 00 75  00 64 00 61 00 63 00 65  .y...h.u .d.a.c.e
[0A0] 00 6B 00 73 00 2E 00 68  00 6F 00 6D 00 65 00 03  .k.s...h .o.m.e..
[0B0] 00 28 00 63 00 68 00 75  00 62 00 62 00 79 00 2E  .(.c.h.u .b.b.y..
[0C0] 00 68 00 75 00 64 00 61  00 63 00 65 00 6B 00 73  .h.u.d.a .c.e.k.s
[0D0] 00 2E 00 68 00 6F 00 6D  00 65 00 00 00 00 00 57  ...h.o.m .e.....W
[0E0] 00 69 00 6E 00 64 00 6F  00 77 00 73 00 20 00 35  .i.n.d.o .w.s. .5
[0F0] 00 2E 00 31 00 00 00 57  00 69 00 6E 00 64 00 6F  ...1...W .i.n.d.o
[100] 00 77 00 73 00 20 00 32  00 30 00 30 00 30 00 20  .w.s. .2 .0.0.0. 
[110] 00 4C 00 41 00 4E 00 20  00 4D 00 61 00 6E 00 61  .L.A.N.  .M.a.n.a
[120] 00 67 00 65 00 72 00 00  00                       .g.e.r.. .
size=340
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  340 (0x154)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  223 (0xDF)
smb_bcc=297
[000] A1 81 DC 30 81 D9 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
[010] 06 01 04 01 82 37 02 02  0A A2 81 C3 04 81 C0 4E  .....7.. .......N
[020] 54 4C 4D 53 53 50 00 02  00 00 00 0C 00 0C 00 38  TLMSSP.. .......8
[030] 00 00 00 15 02 8A 62 6E  D7 83 5F F4 9E 8E 67 00  ......bn .._...g.
[040] 00 00 00 00 00 00 00 7C  00 7C 00 44 00 00 00 05  .......| .|.D....
[050] 01 28 0A 00 00 00 0F 43  00 48 00 55 00 42 00 42  .(.....C .H.U.B.B
[060] 00 59 00 02 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[070] 00 59 00 01 00 0C 00 43  00 48 00 55 00 42 00 42  .Y.....C .H.U.B.B
[080] 00 59 00 04 00 28 00 63  00 68 00 75 00 62 00 62  .Y...(.c .h.u.b.b
[090] 00 79 00 2E 00 68 00 75  00 64 00 61 00 63 00 65  .y...h.u .d.a.c.e
[0A0] 00 6B 00 73 00 2E 00 68  00 6F 00 6D 00 65 00 03  .k.s...h .o.m.e..
[0B0] 00 28 00 63 00 68 00 75  00 62 00 62 00 79 00 2E  .(.c.h.u .b.b.y..
[0C0] 00 68 00 75 00 64 00 61  00 63 00 65 00 6B 00 73  .h.u.d.a .c.e.k.s
[0D0] 00 2E 00 68 00 6F 00 6D  00 65 00 00 00 00 00 57  ...h.o.m .e.....W
[0E0] 00 69 00 6E 00 64 00 6F  00 77 00 73 00 20 00 35  .i.n.d.o .w.s. .5
[0F0] 00 2E 00 31 00 00 00 57  00 69 00 6E 00 64 00 6F  ...1...W .i.n.d.o
[100] 00 77 00 73 00 20 00 32  00 30 00 30 00 30 00 20  .w.s. .2 .0.0.0. 
[110] 00 4C 00 41 00 4E 00 20  00 4D 00 61 00 6E 00 61  .L.A.N.  .M.a.n.a
[120] 00 67 00 65 00 72 00 00  00                       .g.e.r.. .
Got challenge flags:
Got NTLMSSP neg_flags=0x628a0215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_CHAL_ACCEPT_RESPONSE
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_CHAL_TARGET_INFO
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
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
NTLMSSP challenge set by NTLM2
challenge is: 
[000] B6 3E A0 91 45 FB BD 45                           .>..E..E 
NTLMSSP Sign/Seal - Initialising with flags:
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
write_socket(6,274)
write_socket(6,274) wrote 274
got smb length of 35
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=3
smt_wct=0
smb_bcc=0
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=29488
smb_uid=2048
smb_mid=3
smt_wct=0
smb_bcc=0
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE
session setup failed: NT_STATUS_LOGON_FAILURE
================================================================================

Thanks-
Bill Hudacek
Comment 1 Kevin Ediger 2006-08-03 15:00:12 UTC
The tar problem occurs because the Fedora RPM applies the proposed patch in <a href="show_bug.cgi?id=2051" title="NEW - smbclient -N doesn't work as documented.">bug 2051</a>.

This patch creates problems with the tar cli as documented here: <a href="show_bug.cgi?id=3974">bug 3974</a>.
Comment 2 David Disseldorp 2014-09-23 15:09:27 UTC
smbclient archival support has been rewritten for Samba 4.2. The new implementation uses libarchive, and includes test for incremental backups.

Please reopen if this bug is still present in 4.2 or the master branch.
Comment 3 Bill Hudacek 2014-09-23 15:37:54 UTC
8 years later!

Thanks.  I don't have win98 clients anymore, but I still use BackupPC. I'll attempt this setup at some time in the future and report any issues I see at that time. 

Thanks again -
/Bill