samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] RE : Example of command ". / Setup

Re: [Samba] RE : Example of command ". / Setup / provision"

From: Michael Wood <esiotrot_at_nospam>
Date: Tue May 18 2010 - 13:31:09 GMT
To: Viatte Frédéric <>


2010/5/18 Viatte Frédéric <>:
> Hello
> Thank you for your quick response!
> Right?. The full name of my server is:
> I put as a command:. / Setup / provision - realm = DOMAINE.CH - domain = DOMAIN - adminpass = Pass2010 - server-role = 'domain controller'
> The information I entered is correct?

It is normal for the Windows domain name to be the same as the first
part of the realm name. So you are missing the "E" from
--domain=DOMAIN. But as tms3 says it can work even if they do not

When I tried running provision, I had the Windows DOMAIN the same as
the first part of the REALM and the DNS domain was the same as the
realm (except lowercase).

I also had to use --target-dir=/usr/local/samba4 (where I installed
Samba4) when I ran provision.

> And here is my host file after installing my DNS and samba:
> Something seems strange to me .. what is your opinion?

Installing DNS (bind9) or Samba should not affect your hosts file, so
your hosts file will have looked like that before installing DNS and
Samba too. If your DNS is working correctly then you can remove the
entries for from your hosts file. Even if you wanted to
keep it there, you would only need one of them. Not two. Also, if
you keep it in /etc/hosts, it should probably match the DNS entry.

-- Michael Wood <> -- To unsubscribe from this list go to the following URL and read the instructions: