Prev: samba.org has been revised!
Next: [Samba] TR: RE : RE : RE : Example of command ". / Setup / provision"
From: Viatte Frédéric on 19 May 2010 03:30 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 Thanks -----Message d'origine----- De : Michael Wood [mailto:esiotrot(a)gmail.com] Envoyé : mercredi, 19. mai 2010 08:34 À : Viatte Frédéric Cc : tms3(a)tms3.com; samba(a)lists.samba.org Objet : Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision" 2010/5/18 Viatte Frédéric <Frederic.Viatte(a)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 [esiotrot(a)gmail.com] > Date d'envoi : mardi 18 mai 2010 17:03 > À : Viatte Frédéric > Cc : tms3(a)tms3.com; samba(a)lists.samba.org > Objet : Re: [Samba] RE : RE : Example of command ". / Setup / provision" > > 2010/5/18 Viatte Frédéric <Frederic.Viatte(a)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 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 <esiotrot(a)gmail.com> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Viatte Frédéric on 19 May 2010 05:40 That I think I found, I thought my DNS was set up well since the nslookup walked and I could connect to the Domain. For her that I skipped step 8! I tried to add the file "/etc/named.conf" line include "/usr/local/samba/private/named.conf"; but when I restart my DNS server, I get this error : Error occurred while starting named service. Error: / usr / local / samba / private / named.conf: 14: open: / usr / local / samba / private / named.conf.update: file not found At home in the "private" you have a file named "named.conf.update"? Thank you for your help! -----Message d'origine----- De : Michael Wood [mailto:esiotrot(a)gmail.com] Envoyé : mercredi, 19. mai 2010 11:10 À : Viatte Frédéric Cc : tms3(a)tms3.com; samba(a)lists.samba.org Objet : Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision" 2010/5/19 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: > 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 > > Thanks Do the DNS tests in step 8 of the howto (http://wiki.samba.org/index.php/Samba4/HOWTO#Step_8_Configure_DNS) work from both the Samba4 server and also from the Windows machine? For the Windows machine you will need to use "nslookup" instead of "host". e.g.: C:\>nslookup Default Server: serveur-tpi.domaine.ch Address: 192.168.1.100 > set type=srv > _ldap._tcp.domaine.ch. [...] Do the Kerberos tests in step 9 of the HOWTO work? Is the Windows machine joined to the domain? > -----Message d'origine----- > De : Michael Wood [mailto:esiotrot(a)gmail.com] > Envoyé : mercredi, 19. mai 2010 08:34 > À : Viatte Frédéric > Cc : tms3(a)tms3.com; samba(a)lists.samba.org > Objet : Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision" > > 2010/5/18 Viatte Frédéric <Frederic.Viatte(a)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' -- Michael Wood <esiotrot(a)gmail.com> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Viatte Frédéric on 19 May 2010 06:00
I solved this error, but I have another one now, here it is: Error occurred while starting named service. Error: / usr / local / samba / private / named.conf: 6: unknown option 'zone' I tried to send you my file "named.conf" file "private" I do not know if you've received? Thank you -----Message d'origine----- De : Michael Wood [mailto:esiotrot(a)gmail.com] Envoyé : mercredi, 19. mai 2010 11:10 À : Viatte Frédéric Cc : tms3(a)tms3.com; samba(a)lists.samba.org Objet : Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision" 2010/5/19 Viatte Frédéric <Frederic.Viatte(a)rpn.ch>: > 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 > > Thanks Do the DNS tests in step 8 of the howto (http://wiki.samba.org/index.php/Samba4/HOWTO#Step_8_Configure_DNS) work from both the Samba4 server and also from the Windows machine? For the Windows machine you will need to use "nslookup" instead of "host". e.g.: C:\>nslookup Default Server: serveur-tpi.domaine.ch Address: 192.168.1.100 > set type=srv > _ldap._tcp.domaine.ch. [...] Do the Kerberos tests in step 9 of the HOWTO work? Is the Windows machine joined to the domain? > -----Message d'origine----- > De : Michael Wood [mailto:esiotrot(a)gmail.com] > Envoyé : mercredi, 19. mai 2010 08:34 > À : Viatte Frédéric > Cc : tms3(a)tms3.com; samba(a)lists.samba.org > Objet : Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision" > > 2010/5/18 Viatte Frédéric <Frederic.Viatte(a)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' -- Michael Wood <esiotrot(a)gmail.com> |