I think that sends the image I walked, this is the first error:

Naming Information Can not Be Located Because:
The specified domain does not exist or could not be contacted.
Contact your system administrator ....

Error 2

The following domain controller could not be contacted:SERVEUR-TPI.DOMAINE.CH.
Access denied

Well, you do need to actually setup DNS after running the provisioning script. See the wiki
<http://wiki.samba.org/index.php/Samba4/HOWTO#Step_8_Configure_DNS>

and the manual for whatever flavor of DNS you are using.



Thanks

-----Message d'origine-----
De : Michael Wood [mailto:esiot...@gmail.com]
Envoyé : mercredi, 19. mai 2010 08:34
À : Viatte Frédéric
Cc : t...@tms3.com; samba@lists.samba.org
Objet : Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision"

2010/5/18 Viatte Frédéric <frederic.via...@rpn.ch>:

Sorry, I was wrong!

As I understood, I do this command:

--realm = SERVEUR-TPI.DOMAINE.CH --domain = SAMBA

Just the name of my server and the name of my NETBIOS has to have to be different ? It is good it?

I think the realm should NOT include the server name.  Maybe tms3 or
someone else can comment.

If you want your Samba4+bind9 machine to host the domaine.ch zone (or
you can do dynamic updates to the domaine.ch zone from Samba4) then
you should probably do something like this:

setup/provision --realm=DOMAINE.CH --domain=DOMAINE
--adminpass=xxxxxxxx --server-role='domain controller'


________________________________________
De : Michael Wood [esiot...@gmail.com]
Date d'envoi : mardi 18 mai 2010 17:03
À : Viatte Frédéric
Cc : t...@tms3.com; samba@lists.samba.org
Objet : Re: [Samba] RE : RE : Example of command ". / Setup / provision"

2010/5/18 Viatte Frédéric <frederic.via...@rpn.ch>:

I do not understand, I will have a hostname and NetBIOS name different?

So

-- Domain = SAMBA

it'll be my name NETBIOS, and

-- Realm = TPI.DOMAINE.CH-SERVER

will my machine name + my domain?

Let's say you have a web server called http://www.domaine.ch and a mail
server called mail.domaine.ch etc. and then you have a server called
serveur.tpi.domaine.ch and some workstations called
ws1.tpi.domaine.ch, wp2.tpi.domaine.ch etc., then I would do this:

setup/provision --realm=TPI.DOMAINE.CH --domain=TPI
--adminpass=xxxxxxxx --server-role='domain controller'

so your server name is not specified when you run provision.

Then you will have a DNS zone file for tpi.domaine.ch and it will
contain A records for:

serveur IN A 192.168.1.100
ws1 IN A 192.168.1.200
ws2 IN A 192.168.1.201

etc.

The zone for domaine.ch would have A records for www and mail and MX
records etc.   You might also have NS records pointing at
serveur.tpi.domaine.ch for the tpi subdomain:

@ IN MX 10 mail
www IN A aaa.bbb.ccc.ddd
mail IN A aaa.bbb.ccc.eee
tpi IN NS serveur.tpi.domaine.ch.

but this zone might be hosted by a completely different name server.

Then the workstations should use 192.168.1.100 as their primary DNS server.

--
Michael Wood <esiot...@gmail.com>

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to