Robert Fitzpatrick wrote:
Can someone point me to info on how to access shares on the netowrk
without having to provide the password. I am logged in to my FreeBSD 6.0
workstation with the user name and password equal to that of a user on
the other samba servers and Windows.
IIUC and AFAIK, you can't. Unlike windows, Unix does not store your
password when you log in (just encrypts and compares to passwd file) so
it cannot automatically provide credentials to samba.
You can, however, get mount_smbfs to look in a file to find your
password, so as long as that file is protected. See man mount_smbfs
-N Do not ask for a password. At run time, mount_smbfs reads the
~/.nsmbrc file for additional configuration parameters and a
password. If no password is found, mount_smbfs prompts for it.
If you're going to do this you might want to use a different password
for windows from BSD. And make sure you protect the file, though any
super-user will always be able to read it, if that is an issue.
--Alex
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"