From: Xu, Qiang (FXSGSC) on
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 13.121.8.162 13.121.8.3 SMB Session Setup AndX Request, NTLMSSP_NEGOTIATE
19 21.337175 13.121.8.3 13.121.8.162 SMB Session Setup AndX Response, NTLMSSP_CHALLENGE, Error: STATUS_MORE_PROCESSING_REQUIRED
20 21.349010 13.121.8.162 13.121.8.3 SMB Session Setup AndX Request, NTLMSSP_AUTH, User: rasta-man\earl
21 21.354123 13.121.8.3 13.121.8.162 SMB Session Setup AndX Response
22 21.360548 13.121.8.162 13.121.8.3 SMB Tree Connect AndX Request, Path: \\13.121.8.3\SCANFOLDER
23 21.361288 13.121.8.3 13.121.8.162 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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba