I'm trying to connect to a Windows share using smbclient.
I'm entering the below output and receiving error (Error NT_STATUS_BAD_NETWORK_NAME). The Linux OS is CentOS 6. Any help is appreciated.
[root@guacamole ~]# smbclient //10.25.50.110/payroll -U smithjo -W es
Enter smithjo's password:
Domain=[ES] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2]
Connection to NAD2NASFS01 failed (Error NT_STATUS_BAD_NETWORK_NAME)
I can ping 10.25.50.110.
I cannot ping netbios names from the linux machine.
smbclient version is 3.5.10-116.el6_2
My user name on the domain is definitely smithjo. The share \\10.25.50.110\payroll is a valid share on the Windows machine. I can use my es\smithjo account to access this share from other Windows machines. I'm typing in the password I use for my domain account.
If I leave the -W off, it still fails.