NT_STATUS_BAD_NETWORK_NAME

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 //server/Data -U james

Goodbye NT_STATUS_BAD_NETWORK_NAME !!

Did you like this? Share it:

No related posts.



Leave a Reply

You must be logged in to post a comment.