[Samba] Problem with tar commands in smbclient 3.0.23c
Steven Whaley
steven at puryear-it.com
Thu Sep 27 16:48:28 GMT 2007
Since upgrading from CentOS 4.3 to CentOS 5 the smbclient tar commands
seem to be broken. The version on 4.3 was 3.0.10 I believe, while on 5
it is 3.0.23c-2.
Here's what happens.
Running the command:
$ /usr/bin/smbclient \\\\host.domain.com\\backup -A /tmp/ntcredentials
works fine. It connects no problem.
But:
$ /usr/bin/smbclient \\\\host.domain.com\\backup -A /tmp/ntcredentials
-Tc /tmp/blah.tar
fails with the following error
session setup failed: NT_STATUS_LOGON_FAILURE
The debug output looks like this
[name at host tmp]$ /usr/bin/smbclient \\\\host.domain.com\\backup -d 3 -A
/tmp/ntcredentials -Tc /tmp/blah.tar
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=192.168.222.2 bcast=192.168.222.255 nmask=255.255.255.0
Client started (version 3.0.23c-2).
resolve_lmhosts: Attempting lmhosts lookup for name host.domain.com<0x20>
resolve_wins: Attempting wins lookup for name host.domain.com<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name host.domain.com<0x20>
Connecting to 192.168.222.40 at port 445
Doing spnego session setup (blob length=101)
got OID=1 2 840 48018 1 2 2
got OID=1 2 840 113554 1 2 2
got OID=1 2 840 113554 1 2 2 3
got OID=1 3 6 1 4 1 311 2 2 10
got principal=ts$@DOMAIN
Got challenge flags:
Got NTLMSSP neg_flags=0x62890215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE
This is is breaking out backups, which worked fine on the older version
of smbclient without any special trickery. Any help, anyone?
--
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com
Visit http://www.puryear-it.com/pubs/ebooks/ to download your free
copies of:
"Best Practices for Managing Linux and UNIX Servers"
"Spam Fighting and Email Security in the 21st Century"
More information about the samba
mailing list