On Wed, Oct 01, 2008 at 02:39:22PM -0500, David C. Rankin wrote: [ 8< ]
First Linux -> smb; Just define a place to mount the remote shares (I just use /mnt) and then a simple bash script will take care of the mounts for you. I just write a mount script for each machine, and then if I have multiple machines in a group, just combine the calls in a second group script. Here is what I use for a machine script:
Have you tried to use /etc/fstab or /etc/samba/smbfstab? The latter has permissions set to 0600 to protect credentials. Both - /etc/fstab and /etc/samba/smbfstab - are checked by the /etc/init.d/smbfs init script if a SMB/ CIFS share needs to be mounted. The name smbfs has its roots in the past when smbfs was used instead of cifs. Nowedays only cifs is supported on kernel level. smbfs got removed from SUSE and upstream kernels. Missing is a restart of the init script if the traditional network scripts (not NetworkManager) are used. NetworkManager handles this by the /etc/NetworkManager/dispatcher.d/smbfs. This issue is addressed by bug 425058. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany