File Sharing Using Ubuntu 9.04 And Samba

Posted Jun 17, 2009 | by Rich Menga | 11 Comments  

In 2007 I did a video on how to share files/folders to Windows with Ubuntu. But since version 8 of that OS the way in which this is done has changed a bit. It is simplified somewhat, but the drawback now is that in order to change the Workgroup name you must edit a configuration file manually instead of having the ability to do it in the GUI like before.

In the video – and here on this post – I make the request that if anybody knows how to change the Workgroup name without manually editing the smb.conf file, please feel free to comment and explain how that’s done, because I couldn’t find it.

Granted, the command line is not a bad thing, but the point here is that you used to be able to edit the Workgroup name via the GUI and now that feature seems to be gone – unless it’s hiding somewhere where I can’t find it?

See video for details.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Posted In: Featured, Linux, PCMech Videos, Software

If you like this, you might also like...

  • 5 FREE Solutions Guides
  • Weekly Newsletter (6 Years Running)
  • Special Deals & Announcements
  • Subscribe FREE

11 Responses to “File Sharing Using Ubuntu 9.04 And Samba”

  1. Henrik Brandt

    18. Jun, 2009

    No problem change the workgroup without having to manually change the smb.conf
    You can simply installe thes amba server configuration tool.

    1. In Synaptic package manager install system-config-samb

    2. Open it under system->administration

    3. choose Preferences->server settings…

    4. change to the desired workgroup

    /Henrik

    Reply to this comment
    • Rich Menga

      18. Jun, 2009

      Thanks. And I’m assuming you mean system-config-samba (with the ‘a’ at the end).

      Drop a note to the Ubuntu team: On Samba install, this should be installed right along with it instead of having it as a separate installation step. Keeping it in the GUI as much as possible is desirable.

      Reply to this comment
  2. Steven Hammons

    19. Jun, 2009

    As an alternative, there is also SWAT (The Samba Web Administration Tool). Here is a link to the web page on Samba.org regarding SWAT: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html#id2682516

    Here is a small quote from that page as well in direct relation to your question:

    “The purpose of the SWAT Wizard is to help the Microsoft-knowledgeable network administrator to configure Samba with a minimum of effort.

    The Wizard page provides a tool for rewriting the smb.conf file in fully optimized format.”

    There is no right or wrong way, just what is comfortable for the individual doing the work.

    Reply to this comment
  3. Lespaul20

    23. Jun, 2009

    Another alternative is Webin. Web interface for a bunch of services/functions.

    http://www.webmin.com/

    Reply to this comment
  4. sleggy

    29. Jun, 2009

    i’m just curious on how to connect using xp. i followed the steps on my ubuntu machine but when i access it on xp it doesn’t work. i got the error message “\\192.168.1.3\ubuntu is not accessible”. is there any other way to access the shared folder using xp besides typing \\ubuntuipaddress\shared_folder in run?

    Reply to this comment
  5. Henrik Brandt

    29. Jun, 2009

    It seems to me that you are not using a samba correct login name and/or password.
    Normally xp tries to login as nobody/anonymous

    Reply to this comment
  6. Michael Pursel

    03. Jul, 2009

    New to Ubutu had to use UNIX at school so I said what the heck and built a Ubutu box. I can see and get to the share on the Ubuntu machine but can not get to the shares on the window (XP) machine from Ubutu.

    Reply to this comment
  7. Patrick Ng

    22. Jul, 2009

    Thanks for the video. Very easy to follow. However, I’m having some problems with Ubuntu itself. After each restart, the file sharing icon besides the folder icon will disappear. And, the check mark for “Allow other people to write to this folder” will also disappear. Also, I can copy files to the shared folder, but they contain a lock icon and open in read-only.

    This is one big pain. I don’t want to sound like a pessimist, but file sharing in Windows is very easy.

    Reply to this comment
  8. Live

    09. Sep, 2009

    @Patrick Ng

    Hi I don’t know if I would be any help, but I also experience disappearing shared folders in my Ubuntu Jaunty 9.04 so I just manually add my shared folder in my /etc/samba/smb.conf file

    [shared_folder]
    path = /home/(username)/(folder)
    read only = no
    writeable = yes
    browsable = yes

    etc, etc…

    Reply to this comment
  9. Patrick Ng

    09. Sep, 2009

    @Live
    I gave up. I just shared a folder on my Mac and access it from my Ubuntu machine. I have a shortcut pointing to the folder. Now instead of having to do “Go to…” I just click on the shortcut in Nautilus. So far, sharing printer is working with my Mac and another Unbuntu computer. Accessing the shared printer from Vista is more problematic. Everything will be fine after I map the printer as long as I don’t restart the Vista computer. If I do, the printer icon will be greyed out.

    Reply to this comment

Leave a Reply

Let PCMech Be Your Hookup To What's HOT In Computers And Technology

  • Plain-English Guides and Resources
  • Our Top Picks for Free Software
  • A Special Gift From PCMech
  • Weekly Newsletter (6 Years Running!)

PCMech Poll

Would you get a Mac if expense was not an issue?

View Results

Loading ... Loading ...