Displaying 1 result from an estimated 1 matches for "smbpw_fred".
2003 Nov 21
0
smbmount and credentials file
.... The only way I
can mount a partition via smbmount is if I use the username=user%passwd
option. If I attempt to setup a .smbpw file, I am prompted for the
password of the user I am attempting to create the mountpoint for. For
example:
% smbmount //w2k_srv/fred /smb/fred -o
"credentials=/root/.smbpw_fred,uid-fred,pid=fred,fmask=664,dmask=775"
Password:
Upon entring the password for user fred, the mount point is created and
the file are accessible. The .smbpw_fred file looks like this:
fred%passwd
Likewise, if I attempt to edit the /etc/fstab entry with the following
line:
//w2k_srv/fred...