[Samba] Failure to transfer files to Win2008 Server Clusters
Xu, Qiang (FXSGSC)
Qiang.Xu at fujixerox.com
Thu Apr 1 02:17:42 MDT 2010
Our printers are using samba-3.0.37, and we hit a problem recently when doing file transfer to Windows 2008 Server Clusters.
The error occurs when the printer attempts to locate the file path and uses the server IP address rather than the hostname:
18 21.335677 18.104.22.168 22.214.171.124 SMB Session Setup AndX Request, NTLMSSP_NEGOTIATE
19 21.337175 126.96.36.199 188.8.131.52 SMB Session Setup AndX Response, NTLMSSP_CHALLENGE, Error: STATUS_MORE_PROCESSING_REQUIRED
20 21.349010 184.108.40.206 220.127.116.11 SMB Session Setup AndX Request, NTLMSSP_AUTH, User: rasta-man\earl
21 21.354123 18.104.22.168 22.214.171.124 SMB Session Setup AndX Response
22 21.360548 126.96.36.199 188.8.131.52 SMB Tree Connect AndX Request, Path: \\184.108.40.206\SCANFOLDER
23 21.361288 220.127.116.11 18.104.22.168 SMB Tree Connect AndX Response, Error: STATUS_BAD_NETWORK_NAME
I believe the problem is related to how Microsoft scopes the file shares when using a cluster configuration. The transfer is smooth when the destination is a stand-alone Win2008 server.
Still, from the client side, is there any way to walk around the problem? I mean, since the problem doesn't occure when the hostname is used to locate the file path, where in the code can I disable the resolving of the server's hostname to ip address in samba client?
Looking forward to help,
More information about the samba