I've combed the documentation, mailing list, and Google but have not
found an answer to this problem.  No matter what I do, I cannot get
the BackupPC server to connect to Windows clients.  Here is my setup:

BackupPC server runs CentOS 5
Samba client installed from source, version 3.0.26
Server tested and working perfectly with Linux clients & rsync

I am convinced that there is nothing wrong with the Windows clients,
because I can run the smbclient command manually from either my Ubuntu
laptop, or another server running an older version of Samba and it
works fine!  I have tested this with two separate clients running
Windows 2000 and 2003 respectively.  There's something wrong with
smbclient on my CentOS box that is causing it not to work.  Do I need
to downgrade to an ancient version of SAMBA for this to work???

Here's some output if anyone cares to take a look.  Names have been
changed to protect the innocent.

Thanks,

Sean

********************************************
[backuppc ~] $ /usr/local/BackupPC/bin/BackupPC_dump -v -f hostname

cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 hostname
cmdSystemOrEval: finished: got output PING hostname.domain.com
(10.100.1.69) 56(84) bytes of data.
64 bytes from hostname.domain.com (10.100.1.69): icmp_seq=1 ttl=128
time=0.157 ms

--- hostname.domain.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.157/0.157/0.157/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 hostname
cmdSystemOrEval: finished: got output PING hostname.domain.com
(10.100.1.69) 56(84) bytes of data.
64 bytes from hostname.domain.com (10.100.1.69): icmp_seq=1 ttl=128
time=0.124 ms

--- hostname.domain.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.124/0.124/0.124/0.000 ms

CheckHostAlive: returning 0.124
Running: /usr/local/samba/bin/smbclient \\\\hostname\\share -U
backuppc -E -N -d 1 -c tarmode\ full -TcrX -
full backup started for share share
started full dump, share=share
Xfer PIDs are now 13268,13267
xferPids 13268,13267
cmdExecOrEval: about to exec /usr/local/samba/bin/smbclient
\\\\hostname\\share -U backuppc -E -N -d 1 -c tarmode\ full -TcrX -
tar_re_search set
session setup failed: NT_STATUS_LOGON_FAILURE
session setup failed: NT_STATUS_LOGON_FAILURE
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0
sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share share)
cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 hostname
cmdSystemOrEval: finished: got output PING hostname.domain.com
(10.100.1.69) 56(84) bytes of data.
64 bytes from hostname.domain.com (10.100.1.69): icmp_seq=1 ttl=128
time=0.156 ms

--- hostname.domain.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.156/0.156/0.156/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 hostname
cmdSystemOrEval: finished: got output PING hostname.domain.com
(10.100.1.69) 56(84) bytes of data.
64 bytes from hostname.domain.com (10.100.1.69): icmp_seq=1 ttl=128
time=0.125 ms

--- hostname.domain.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.125/0.125/0.125/0.000 ms

CheckHostAlive: returning 0.125
Backup aborted (No files dumped for share share)
dump failed: No files dumped for share share

********************************************
[backuppc ~]$ /usr/local/samba/bin/smbclient \\\\server\\share -U
backuppc -E -d 3 -c tarmode\ full -TcrX -
tar_re_search set
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf"
Processing section "[global]"
added interface ip=10.100.3.5 bcast=10.100.255.255 nmask=255.255.0.0
Client started (version 3.0.26a).
Connecting to 10.100.1.69 at port 445
Password:
Doing spnego session setup (blob length=113)
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 [EMAIL PROTECTED]
Got challenge flags:
Got NTLMSSP neg_flags=0x62898215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE
Connecting to 10.100.1.69 at port 445
Doing spnego session setup (blob length=113)
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 [EMAIL PROTECTED]
Got challenge flags:
Got NTLMSSP neg_flags=0x62898215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to