Creating a SAMBA share on Kubuntu Linux

Posted by batman on Feb 27th, 2010
2010
Feb 27

Kubuntu 8.10 (Intrepid Ibex) Linux Server

  • $ sudo apt-get install samba
  • $ sudo smbpasswd -a SOMEUSER
  • Edit /etc/samba/smb.conf: (place the following code snippet at the bottom of the file)
path = /SOME_FOLDER
available = yes
valid users = SOMEUSER
read only = no
browseable = yes
guest ok = yes
admin users = SOMEUSER
  • You will need to ensure that your folder (in this case “/SOME_FOLDER”) has full read/write permissions by the user SOMEUSER
  • I’m not sure if it is a requirement, but I have my server and client sharing the same username/password combination – it just seems to ask for passwords less frequently.
  • $ sudo /etc/init.d/samba restart

Windows XP Client

Browse “Microsoft Windows Network” to find your shares, and if desired map a drive letter to this share.

Troubleshooting

Periodic timeout, or where Windows “drops” the connection – use “regedit” to modify your registry.

Modify [My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters] – set property [autodisconnect] to “0xffffffff” (4294967295) minutes – effectively disabling the timeout.

Powered by Zoundry Raven

Technorati : , , ,
Del.icio.us : , , ,
Zooomr : , , ,
Flickr : , , ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit