next up previous Link to 'computer' page
Next: Fujitsu P1610 hibernate (suspend-to-disk) Up: System software Previous: System software

Samba and the Firewall

How To Samba With Suse 10.1 And Windows XP works with openSuSE 10.2 as well!

smb4k is available from the guru repository, or the KDE backports repository. Perhaps one version might work better for you than the other.

If using smb4k, don't forget to `chmod +s /usr/bin/smbmnt' and `chmod +s /usr/bin/smbumount'. However the `smbfs' module has not been compiled in the default SuSE kernel. Instead CIFS is available. Using CIFS requires using `Settings -- Super User -- Use Super User privileges to mount and unmount shares'. After setting this, I could mount shares using CIFS, but the files inside these shares were only accessible to the superuser, although the directories could be traversed by a `normal user'. I am not sure what fixed this problem up, but I think rebooting helped...

When I installed smb4k on my Fujitsu P1610, I wanted to use `sudo' to mount/unmount the drives via CIFS. Not using sudo results in the error that CIFS was unable to mount the drive. Unfortunately, hitting the `Apply' or `OK' button resulted in the error that smb4k was unable to write to /var/lock/smb4k.lock. If I ran smb4k as root, this was not a problem. As root, I created /var/lock/smb4k.lock and allowed everyone to write to it...

echo >/var/lock/smb4k.lock ``''

chmod a+rw /var/lock/smb4k.lock

This allowed smb4k to go one step further, some other error messages popped up, but at last I was able to mount a Samba drive (via CIFS).


next up previous Link to 'computer' page
Next: Fujitsu P1610 hibernate (suspend-to-disk) Up: System software Previous: System software
David Fong 2011-01-25