Archive for June, 2007

NT_STATUS_BAD_NETWORK_NAME

By Jamsi • Jun 5th, 2007 • Category: Linux

Whilst trying to connect to a windows 2003 server via smbclient, I kept recieivng the error message “NT_STATUS_BAD_NETWORK_NAME”. After much google searching I found that the solution is to drop the trailing slash .. so simple .. so easy. I hate samba.
The error I kept receiving was
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
WRONG way
smbclient //server/Data/ -U james
CORRECT way
smbclient [...]