I want to write a backup script for my parents. All I still need in order to do this is automatic mounting of a share. Here's my setup.
One PC (Win2k), one iBook, possibly more in the future. And one server running FreeBSD 5.1.
The server is supposed to regularly mount the PC share and do a backup using tar, rsync or whatever.
So, mounting my share I do the following
mount_smbfs -N //user@client/office /mnt
My .nsmbrc file looks as follows
[client]
addr = client.home.net
[client:user]
password = userpassword
The user password is in plain text (as you would type it).
I get the following error: "mount_smbfs: unable to open connection: syserr = Authentication error"
If I omit the "-N" option and type in the password as usual, I can mount it. Both machines see each other, I can browse the shares of the server on the client and I can mount the smb shares of the client on the server, too.
smbmount works on Linux only, so I can't do that.
Can anyone help me, please
