On Wednesday 23 Jul 2003 10:50 am, [EMAIL PROTECTED] wrote: > what do i add to /etc/fstab to automount samba shares on boot ? > user/pass/domain required >
Just go through the samba wizard in MandrakeControlCentre>MountPoints>Samba It will find all shares advertised on remotehosts for you and make your fstab entry. If the 'noauto' option is unchecked then it will be mounted automatically on boot. If you leave the default user as '%' then when it mounts at boot it will mount as root user which you probably do not want. Just put a username and password in and it will mount as that user. Because putting usernames/passwords in the fstab file is a security risk instead a file /etc/samba/auth.hostname.username is used to contain the password. Your fstab file entry will look something like this. //firewall/homes /mnt/homes smbfs user,credentials=/etc/samba/auth.firewall.derek 0 0 HTH derek -- ---------------------------------- www.jennings.homelinux.net
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com