Page 1 of 1

Home domain revert to "home"

Posted: Sat Dec 19, 2009 2:23 pm
by salocinbake
Fresh install F12 DVD, Amahi installed OK.

But my home domain, is not the one I choosed on my Amahi account.

Every computer in my home network are under the home domain "bake.com" (for example)

HDA shares are not visible under Windows 7, unless I type in explorer \\HDA.
And with Ubuntu and Fedora: Places-> network->Windows network, the HDA is under "Home" instead of "BAKE.COM"

I went on the irc, and Bigfoot65 fixed it. But the next day, it reverted again to "home".

On the hda: /etc/hosts =

# hostname Serveur added to /etc/hosts by anaconda
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 BAKE.com
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 BAKE.com

Modified on the HDA desktop-> System->admin->network. Under the DNS tab, changed the host name and DNS lookup.

Image



Don't know how to fix this.
Thanks

Re: Home domain revert to "home"

Posted: Sat Dec 19, 2009 11:57 pm
by cpg
are you talking about the DNS domain or the samba domain?

the samba domain/workgroup (in pdc/non-pdc modes) is determined by the workgroup variable in /etc/samba/smb.conf, which is generated automatically by the amahi interface:

Code: Select all

bash$ grep "workgroup =" /etc/samba/smb.conf workgroup = home bash$
unless there is a bug, the samba domain is derived from the DNS domain (removing the .com/.net/.whatever extension and cleaning it up).

also, you can change it dynamically in the setup -> shares -> settings area after turning on the advanced options in setup -> settings.

hope that helps!