[Samba] Samba 4 success on openSUSE 12.1

Robert Schetterer robert at schetterer.org
Tue Nov 29 12:44:01 MST 2011


Am 29.11.2011 20:37, schrieb Robert Schetterer:
> Am 29.11.2011 19:58, schrieb steve:
>> samba -b
>> Samba version: 4.0.0alpha18-GIT-5c53926
>> Build environment:
>>    Build host:  Linux hh3 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3
>> 14:45:45 UTC 2011 (187dde0) i686 i686 i386 GNU/Linux
>>
>> openSUSE 12.1 i586
>>
>> Hi everyone.
>> After.
>> ./source4/setup/provision --realm=hh3.site --domain=HH1
>> --adminpass=SOMEPASSWORD --server-role='domain controller'
>>
>> The wiki howto is for DNS seems to be wrong. I had to do this:
>>
>> Copy
>> /usr/local/samba/private/named.conf
>> to
>> /etc/named.conf.samba4
>>
>> Copy
>> /usr/local/samba/private/dns/hh3.site.zone
>> to
>> /var/lib/named/master
>>
>> edit
>> /etc/named.conf.samba4 to point to /var/lib/named:
>> one "hh3.site." IN {
>>         type master;
>>          file "/var/lib/named/master/hh3.site.zone";
>>
>> edit /etc/named.conf to include:
>> include "/etc/named.conf.samba4";
>> as the last line in the file.
>>
>> Is this correct?
>>
>> On restarting bind there are still errors:
>>
>> Nov 29 19:54:15 hh3 named[4038]: command channel listening on 127.0.0.1#953
>> Nov 29 19:54:15 hh3 named[4038]: couldn't add command channel ::1#953:
>> address not available
>> Nov 29 19:54:15 hh3 named[4038]: managed-keys-zone ./IN: loading from
>> master file managed-keys.bind failed: file not found
> 
> looks like pure bind failure perhaps related to dnssec
> are youre running a chroot bind ? perhaps its looking on the wrong place
> for the file, try locate managed-keys.bind( if locate is installed )
> to find it, or try to create it
> 
> http://o-o-s.de/?p=2966
> says for i.e. for  debian
> 
> echo "include \"/etc/bind/bind.keys\"; ">> /etc/bind/named.conf
> touch /var/cache/bind/managed-keys.bind
> 
> but that may different with suse attention !
> 
> look other bind sites

studied some faqs , this file should be autocreated
if the related dir is writable
restart bind  ( named ) and look if the log shows the failure up again

> 
>> Nov 29 19:54:15 hh3 named[4038]: managed-keys-zone ./IN: loaded serial 0
>>
>> DNS and Kerberos are working fine. Are these errors to do with Samba4?
>>
>> Thanks
>> Steve.
>>
>>
>>
>>
>>
>>
>>
> 
> 


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


More information about the samba mailing list