[Samba] Re:Re: [Samba] How to automatically mount shares.

morgan31 at libero.it morgan31 at libero.it
Thu Jun 13 03:33:03 GMT 2002


>You can use the credentials option:
>//SERVER/DISC  /mnt smbfs 
>credentials=/home/morgan/.smbpw,uid=morgan,gid=morgan,fmask=600,dmask=700
>
>Where .smbpw file contains the following lines:*
>username=morgan
>password=morgan

It works!Thanks a lot.
Where did you find that option? I can't find it in man pages.
>
>pam_mount (http://pam-mount.conectevil.com/) might be the best
>solution. I've installed the package yesterday but haven't managed >to
>make it work with winbind yet.

I'm a beginner with pam.I'll try to understand how does it works.
Thanks again.


More information about the samba mailing list