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

Michael Wood esiotrot at gmail.com
Thu May 20 01:38:49 MDT 2010


2010/5/20 Viatte Frédéric <Frederic.Viatte at rpn.ch>:
> Ok, I solved the problem by changing my DNS zone because there was a conflict! Now I tried to do the tests, but without success! I read the file "message.log" and here is what I found when I restart my DNS:
>
> the working directory is not writable ( what folder ? )
>
> zone domaine.ch/IN: loading from master file /usr/local/samba/private/dns/domaine.ch.zone failed: file not found
>
> But my file exists and is in the right place!

Try this:

* Move /usr/local/samba/private/named.conf to /etc/named.conf.samba4.
* Move /usr/local/samba/private/dns/domaine.ch.zone to
/var/lib/named/master (I think.)
* Edit named.conf.samba4 and change the path to domaine.ch.zone to
where you moved it.
* Make sure /etc/named.conf points to the new location of named.conf.samba4.

See if that works.

> -----Message d'origine-----
> De : Michael Wood [mailto:esiotrot at gmail.com]
> Envoyé : jeudi, 20. mai 2010 09:15
> À : Viatte Frédéric
> Cc : Samba
> Objet : Re: RE : RE : [Samba] Example of command ". / Setup / provision"
>
> Hi
>
> 2010/5/20 Viatte Frédéric <Frederic.Viatte at rpn.ch>:
>> Hello
>>
>> For my zone DOMAINE.CH, yes I have one in "/usr/local/samba/private/dns" ! It is called "domaine.ch.zone"
>>
>> And for # include "/usr/local/samba /private/named.conf" I put in "/usr/named.conf" in the "options" below "notify no"
>
> As mentioned in my previous e-mail, it won't work if you put the
> #include into "options".  Put it at the bottom of the file where it
> says:
>
> # You can insert further zone records for your own domains below or create
> # single files in /etc/named.d/ and add the file names to
> # NAMED_CONF_INCLUDE_FILES.
> # See /usr/share/doc/packages/bind/README.SUSE for more details.
>
> Or you could follow the instructions in the above comment, but just
> including the #include here should work (as long as the contents of
> the file do not conflict with the other zones already defined in
> /etc/named.conf.)
>
>> -----Message d'origine-----
>> De : Michael Wood [mailto:esiotrot at gmail.com]
>> Envoyé : mercredi, 19. mai 2010 17:49
>> À : Viatte Frédéric
>> Cc : samba at lists.samba.org
>> Objet : Re: RE : RE : [Samba] Example of command ". / Setup / provision"
>>
>> 2010/5/19 Viatte Frédéric <Frederic.Viatte at rpn.ch>:
>>> Because the realm of the HOWTO shows that it is necessary to use the complete name of the server it is false?
>>
>> No, the HOWTO does not have the server name in the realm.  "samdom" is
>> not the server name.
>>
>>> I have put:
>>>
>>> - Realm=serveur-tpi.domaine.ch
>>>
>>> And
>>>
>>> - Domain=domaine.ch (I am to oblige to put it otherwise I cannot join any more the domain with a client)
>>
>> No.  "--domain" must not have a "." in it.  Use "--realm=domaine.ch
>> --domain=DOMAINE".
>>
>>> And afterward, I changed the name of NetBIOS in the file " smb.conf " and I put "Samba".
>>
>> I did not have to do that when I tested Samba4.  I just used
>> "--realm=something.org.za --domain=SOMETHING" and the server's name
>> was kudu.something.org.za.
>>
>>> Here is the named.conf which comes from the directory " / etc. / "
>>
>> Do you have a DOMAIN.CH zone in addition to the one created by
>> provision in /usr/local/samba/private?  Where did you put the #include
>> statement?

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba mailing list