Viatte Frédéric
2010-May-19 10:04 UTC
[Samba] TR: RE : RE : RE : Example of command ". / Setup / provision"
-----Message d'origine----- De?: Viatte Fr?d?ric Envoy??: mercredi, 19. mai 2010 11:58 ??: 'Michael Wood' Cc?: tms3 at tms3.com; samba at lists.samba.org Objet?: RE: RE : [Samba] RE : RE : Example of command ". / Setup / provision" 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 at gmail.com] Envoy??: mercredi, 19. mai 2010 11:10 ??: Viatte Fr?d?ric Cc?: tms3 at tms3.com; samba at lists.samba.org Objet?: Re: RE : [Samba] RE : RE : Example of command ". / Setup / provision" 2010/5/19 Viatte Fr?d?ric <Frederic.Viatte at 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 > > ThanksDo 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 at gmail.com] Envoy??: mercredi, 19. > mai 2010 08:34 ??: Viatte Fr?d?ric Cc?: tms3 at tms3.com; > samba at lists.samba.org Objet?: Re: RE : [Samba] RE : RE : Example of > command ". / Setup / provision" > > 2010/5/18 Viatte Fr?d?ric <Frederic.Viatte at 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 at gmail.com>
Michael Wood
2010-May-19 12:07 UTC
[Samba] RE : RE : RE : Example of command ". / Setup / provision"
Hi 2010/5/19 Viatte Fr?d?ric <Frederic.Viatte at rpn.ch>:> -----Message d'origine----- > De?: Viatte Fr?d?ric > Envoy??: mercredi, 19. mai 2010 11:58 > ??: 'Michael Wood' > Cc?: tms3 at tms3.com; samba at lists.samba.org > Objet?: RE: RE : [Samba] RE : RE : Example of command ". / Setup / provision" > > 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?It seems you are still using "SERVEUR-TPI.DOMAINE.CH" as your realm and DNS domain. Why not just "DOMAIN.CH"? Otherwise there seems to be nothing wrong with the named.conf you attached. What does your /etc/named.conf file look like? (On Ubuntu it's /etc/bind/named.conf instead of /etc/named.conf.) -- Michael Wood <esiotrot at gmail.com>