Change Workgroup Name in Ubuntu 11.04 (Natty Narwhal)

This brief and simple tutorial shows you how to change workgroup name in Ubuntu so that you can join a domain or another workgroup. This guide should be quick and easy. If you want to join a domain or workgroup that is different from your current workgroup, you must change the workgroup name, and this tutorial will show you how to do it in Samba’s smb.conf file.

Getting started:

To get started, press Ctrl – Alt – T on your keyboard to open Terminal.

Next, type the command below to open Samba smb.conf file.

gksu gedit /etc/samba/smb.conf

samba_workgroup_natty

Then look for the highlighted line shown below and replace ‘WORKGROUP’ with whatever workgroup name you want to join and save the file.

samba_workgroup_natty_1

When you’re done, type the command below to restart Samba Services.

sudo /etc/init.d/smbd restart

source: http://www.liberiangeek.net/2011/03/change-workgroup-ubuntu-11-04-natty-narwhal/

Advertisements

5 thoughts on “Change Workgroup Name in Ubuntu 11.04 (Natty Narwhal)”

  1. Hi,

    this is the first time I am seeing this useful blog, as I am starting to learn more about Linux and about ways how to put it into a good use. By trying to do as you described I found out that command, and file name under Gnome for OpenSUSE 11.4 are slightly different.

    In first line it is used ‘gnomesu’ instead of ‘gksu’,
    and in second line the name of the file called don’t match => ‘smb’ vs ‘smbd’

    code:
    gnomesu gedit /etc/samba/smb.conf
    sudo /etc/init.d/smb restart

    Thank you for this blog my friend.
    __________________________________________________
    2.6.37.6-0.7-desktop
    GNU/Linux – OpenSUSE 11.4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s