Samba-2.2.0alpha-2 (interesting behavior)
urban at teststation.com
Fri Mar 16 19:45:53 GMT 2001
On Fri, 16 Mar 2001, Mike Fedyk wrote:
> Is there some way to use smbmount without puting the password on the command
> line? Maybe something like ~/.smbauth? Would mount and smbmount have
> different interactions?
Get SAMBA_2_2 from the samba CVS repository or wait for alpha3.
(http://www.samba.org/samba/cvs.html but do: 'cvs ... co -r SAMBA_2_2 ...')
It includes a new 'credentials' option, copied from smbclient. It allows
you to put username and password in a file, like this:
% mount -t smbfs -o credentials=/home/puw/.smb_auth,debug=2,...
Format is the same as for 'smbclient -A ...':
username = foo
password = bar
Details in the cvs manpages on the 2.2.0 branch.
More information about the samba