You are not logged in.

#1 2013-02-28 12:24:32

lowprize
Member
Registered: 2013-02-28
Posts: 2

Unknown option dlz in Arch as DC

I trying set up Sama as DC. Walking by official wiki at adress https://wiki.samba.org/index.php/Samba_ … 0_or_newer

After i was edit /etc/named.conf and add line

include "/usr/local/samba/private/named.conf";

  i get error after restart 'named'

Source of include line

cat /var/lib/samba/private/named.conf
# This DNS configuration is for BIND 9.8.0 or later with dlz_dlopen support.
#
# This file should be included in your main BIND configuration file
#
# For example with
# include "/var/lib/samba/private/named.conf";

#
# This configures dynamically loadable zones (DLZ) from AD schema
# Uncomment only single database line, depending on your BIND version
#
dlz "AD DNS Zone" {
    # For BIND 9.8.0
    #database "dlopen /usr/lib/samba/bind9/dlz_bind9.so";

    # For BIND 9.9.0
     database "dlopen /usr/lib/samba/bind9/dlz_bind9_9.so";
};

Trying run manually and get error

 named -g -u named -d 655535
28-Feb-2013 13:08:08.926 starting BIND 9.9.2-P1 -g -u named -d 655535
28-Feb-2013 13:08:08.926 built with '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-static' '--disable-linux-caps' '--with-openssl' '--with-libxml2' '--with-libtool' '--with-dlz-ldap' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
28-Feb-2013 13:08:08.926 ----------------------------------------------------
28-Feb-2013 13:08:08.926 BIND 9 is maintained by Internet Systems Consortium,
28-Feb-2013 13:08:08.926 Inc. (ISC), a non-profit 501(c)(3) public-benefit
28-Feb-2013 13:08:08.926 corporation.  Support and training for BIND 9 are
28-Feb-2013 13:08:08.926 available at https://www.isc.org/support
28-Feb-2013 13:08:08.926 ----------------------------------------------------
28-Feb-2013 13:08:08.926 using 1 UDP listener per interface
28-Feb-2013 13:08:08.926 using up to 4096 sockets
28-Feb-2013 13:08:08.926 Registering DLZ_dlopen driver
28-Feb-2013 13:08:08.926 Registering SDLZ driver 'dlopen'
28-Feb-2013 13:08:08.926 Registering DLZ driver 'dlopen'
28-Feb-2013 13:08:08.926 Registering DLZ ldap driver.
28-Feb-2013 13:08:08.926 Registering SDLZ driver 'ldap'
28-Feb-2013 13:08:08.926 Registering DLZ driver 'ldap'
28-Feb-2013 13:08:08.927 decrement_reference: delete from rbt: 0x7f7a9003b0c0 .
28-Feb-2013 13:08:08.932 loading configuration from '/etc/named.conf'
28-Feb-2013 13:08:08.932 /var/lib/samba/private/named.conf:12: unknown option 'dlz'
28-Feb-2013 13:08:08.932 load_configuration: failure
28-Feb-2013 13:08:08.932 loading configuration: failure
28-Feb-2013 13:08:08.932 exiting (due to fatal error)

Samba is recompiled, bind was recompiled with dlz support. Thx for your help

Offline

Board footer

Powered by FluxBB