Change Workgroup in Ubuntu 7.04?

Farstrider's picture
Submitted by Farstrider on Wed, 2007-08-15 07:28.

I have recently set up Ubuntu 7.04 on my windows home network. Ubuntu can see the windows systems and read from them, but the reverse is not possible. Plus I can't change the Ubuntu workgroup name to the Windows name. I'm really new to Linux, if anybody could help out I'd be thankful.


( categories: Troubleshooting )
Submitted by chplanet on Fri, 2007-08-17 16:14.

Hi,

  • You can change the workgroup in a file called "smb.conf" located in "/etc/samba/" directory
  • Go to the menu Applications and select the Terminal application:
Applications > Accessories > Terminal
  • Type:
sudo vim /etc/samba/smb.conf
  • Enter password when required
  • Scroll down till you find the Global Settings section and look for workgroup, then press on the INSERT key on your keyboard (to edit the text) and enter your workgroup (the Windows one: e.g. MSHOME or HOME or MYNETWORK)
  • Finally, press "SHIFT" and ":" and then type wq (to write and save the smb.conf file) and press Enter
  • Reboot the computer for the change to be effective.
  • That's it, you're done!
Cheers,JC