[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

Hi, list: 

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	SMB	Session Setup AndX Request, NTLMSSP_NEGOTIATE
20	21.349010	SMB	Session Setup AndX Request, NTLMSSP_AUTH, User: rasta-man\earl
21	21.354123	SMB	Session Setup AndX Response
22	21.360548	SMB	Tree Connect AndX Request, Path: \\\SCANFOLDER
23	21.361288	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,
Xu Qiang

More information about the samba mailing list