Creating a SAMBA share on Kubuntu Linux

Posted by batman on Feb 27th, 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)
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.


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 : , , , : , , ,
Zooomr : , , ,
Flickr : , , ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.