Cannot change workgroup / domain name

Asked by Andrew Barton

I cannot set the work group for Ubuntu.

I have 2 XP and 2 Ubuntu computers. My home domain/workgroup is BARTONWEB.

I enter the computer name (laptop) into the "Host Name" field, and (BARTONWEB) into the "Domain Name" field.

I re-boot and the computer name is updated, but the Domain Name field is blank.

The XP computers can see the computer name change, but they see the Ubuntu computer as being in the WORKGROUP domain even though the domain name is blank.

Running 8.04 with latest updates as of today.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Artem Popov
Solved:
Last query:
Last reply:

This question was originally filed as bug #212776.

Revision history for this message
Artem Popov (artfwo) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

Revision history for this message
Best Artem Popov (artfwo) said :
#2

The solution, well... You're trying to tweak the IP domain name (which is not allowed to be in uppercase), but what you actually need is to change the workgroup/NT-domain option for your Samba installation.

In order to do this, run the following command in the Terminal:
sudo gedit /etc/samba/smb.conf

find the line that says "workgroup = WORKGROUP"
and change it to your liking.

Hope this helps :)

Revision history for this message
Andrew Barton (barton101) said :
#3

These instructions did solve the issue. However the documentation did not contain answers to this question.

Regards,

Andrew