Monday, July 17, 2006

how to change domain or workgroup in Ubuntu

How to change computer Domain/Workgroup

* Read #General Notes
* Read #How to install Samba Server for files/folders sharing service

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf

* Find this line

...
workgroup = MSHOME
...

* Replace with the following line

workgroup = new_domain_or_workgroup

* Save the edited file

sudo testparm
sudo /etc/init.d/samba restart

No comments: