toadman
Guru
- Joined
- Jun 4, 2013
- Messages
- 619
I'm getting the following error when trying to use the -N option with mount_smbfs from the freenas server (which is the client in this case) to a cifs share on another server:
I've got the password in the /root/.nsmbrc and am running the command as root.
The same command without the -N options works fine, and prompts for a password. And it will mount the share properly.
I can't tell if it's finding the .nsmbrc file or not? Contents of that file are:
Anyone else experience this? And if so, any solutions?
Code:
backupserver# mount_smbfs -N -I 192.168.10.10 //someusername@fileserver/userdata /mnt/userdata mount_smbfs: unable to open connection: syserr = Authentication error
I've got the password in the /root/.nsmbrc and am running the command as root.
The same command without the -N options works fine, and prompts for a password. And it will mount the share properly.
I can't tell if it's finding the .nsmbrc file or not? Contents of that file are:
Code:
[fileserver] addr=192.168.10.10 [fileserver:someusername] password=userspassword
Anyone else experience this? And if so, any solutions?
Last edited: