[Samba] How to automatically mount shares.

LAUTIER Sabrina slautier at lavache.com
Thu Jun 13 05:05:02 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.
I found it in the smbmount man page thanks to Jay Ts.

-- Jay: thanks for your advices ;-)

Regards,

Sabrina

---------------------------------------------
Powered by Alinto (http://www.alinto.net)
        for lavache.com (http://www.lavacheautomatique.com)




More information about the samba mailing list