Quote:
Originally Posted by ken_yap
The correct way is to use the smbfs service (/etc/init.d/smbfs). This reads /etc/samba/smbfstab which contains a list of filesystems to mount. It also is sequenced after the network is up so that it won't before that happens. It's probably configured from YaST. I'm guessing, but yast2-samba-client looks like the required package for the YaST menus.
However I don't use it myself, this is what I deduce from reading the comments and knowing how init scripts work. Maybe swerdna can explain it in more detail.
|
This seems like the way to go, except I have a few problems. I've added the mount points to the smbfstab. When I go to YAST system services smbfs looks like it's started but has a * next to it - like "Yes*". When I click on expert mode suddenly the smbfs service is not running and any attempt to start it comes up with
p, li { white-space: pre-wrap; } /etc/init.d/smbfs start returned 6 (program is not configured):
How do I get the service started?
I have the samba-client installed but not samba. From everything I've read only the samba-client is required for accessing windows shares as I don't intend to share anything on my Linux system. Do I still need to install samba for this to work? I can manually mount and rwx everything on the XP box as things are at the moment.
My smbfstab like like this:
Code:
//IP_address_of_XP_box/shared_drive /path_to/mount_point cifs sername="user name",password=password
The quotes are around username as the username has a space in it.