How to Change Workgroup name in Ubuntu

Thursday, June 11, 2009

I am assuming that the version of Ubuntu being used already has Samba Installed otherwise please refer to www.ubuntu.com

1. Go to Applications > Accessories > Terminal
2. At the Terminal type the command
sudo gedit /etc/samba/smb.conf
3. Scroll Down and at the workgroup = workgroup, simply change the workgroup name and press enter
4. Restart Samba, at the terminal type
sudo /etc/init.d/samba restart

and your done!

4 comments:

jay said...

Thanks !

Tom said...

Thanks. It worked.

gally66 said...

With Lucid, samba is a upstart service now, start with "sudo service smbd start " and stop with "sudo service smbd stop" and yes, they're separate, so analog with nmbd. although i still have a smbd file in /etc/init.d/, but there it says: Symlink target for initscripts that have been converted to Upstart.

ismail29033 said...

Hi guys, I've tried loadsa different applications to connect to a windows computer that's in a workgroup at work, I've even done this change in the samba file and though those machines now show up in nautilus when i browse my network connections, i still get an error at "getaddrinfo" when i try to connect, is there any way i can specify the workgroup when trying to connect remotely from ubuntu10.10 ?

thanks Abdul

 
 
 
 
Copyright © My blogs