[Samba] FreeBSD Samba4+DynDNS setup options

Oleg Ruso soy_siberiano at yahoo.com
Mon Nov 25 00:22:27 MST 2013


Hi All!
Want to ask community for a help....
Got a  FreeBSD 9.2-RELEASE system with Samba4.0.8 Dc. the BIND 9.9.4 as a DNS service .
I try to adjust of dynamic updating  zones...... 
I think my problem is in   installation options and  in the accompanying software for some services 

====================================================================================================
The Bind starting errores:

BIND 9.9.4 (Extended Support Version) <id:8f9657aa> built with '--disable-chroot' '--with-gssapi=/usr/local/gssapi' 
'--with-dlopen=yes' '--with-dlz-bdb'
using OpenSSL version: OpenSSL 0.9.8y 5 Feb 2013
using libxml2 version: 2.8.0
..................
Nov 23 18:30:41 Dn named[40240]: samba_dlz: ldb: module schema_load initialization failed : No such object
Nov 23 18:30:41 Dn named[40240]: samba_dlz: ldb: module rootdse initialization failed : No such object
Nov 23 18:30:41 Dn named[40240]: samba_dlz: ldb: module samba_dsdb initialization failed : No such object
Nov 23 18:30:41 Dn named[40240]: samba_dlz: ldb: Unable to load modules for /var/db/samba4/private/dns/sam.ldb: (null)
Nov 23 18:30:41 Dn named[40240]: samba_dlz: Failed to connect to /var/db/samba4/private/dns/sam.ldb
..................

But these files is in /usr/local/lib/shared-modules/ldb 

====================================================================================================
The Samba instalation options (from the port)

===> The following configuration options are available for samba4-4.0.8:
     ACL_SUPPORT=on: File system ACL support
     ADS=on: Active Directory support
     AIO_SUPPORT=on: Asyncronous IO support
     AVAHI=on: Zeroconf support via Avahi
     CUPS=on: CUPS printing system support
     DEBUG=on: With debug information in the binaries
     DEVELOPER=off: With development support
     DNSUPDATE=on: Dynamic DNS update(require ADS)
     EXP_MODULES=off: Experimental modules
     FAM_SUPPORT=on: File Alteration Monitor support
     LDAP=on: LDAP support
     MANPAGES=on: Build and/or install manual pages
     PAM_SMBPASS=on: PAM authentication via passdb backends
     PTHREADPOOL=on: Pthread pool
     QUOTAS=on: Disk quota support
     SWAT=off: SWAT WebGUI
     SYSLOG=on: Syslog support
     UTMP=on: UTMP accounting support
     WINBIND=on: WinBIND support
====> Options available for the single DNS: you have to select exactly one of them
     NSUPDATE=off: Use internal DNS with NSUPDATE utility
     BIND98=off: Use bind98 as a DNS server frontend
     BIND99=on: Use bind99 as a DNS server frontend
======================================================================================================

Now i want to rebuild Samba from tarball with an options

--with-acl-support 	(default=yes)
--with-aio-support 	(default=yes)
--enable-avahi 		(default=yes)
--enable-cups 		(default=yes)
--enable-debug
--with-dnsupdate 	(default=yes)
--with-fam 		(default=auto)
--with-ldap 		(default=yes)
--with-pam_smbpass 	(default=yes)
--enable-pthreadpool 	(default=yes)
--with-quotas 		(default=yes)
--with-syslog 		(default=yes)
--with-utmp 		(default=yes)
--with-winbind 		(default=yes)
--with-ads 		(default=auto)

--enable-gnutls
--enable-talloc-compat1
--with-system-mitkrb5

=======================================================================================================
But i am afraid, it will a work vain.....

I didn't find some documentation about this question for FreeBSD. 
There is a lot of for another *NIX systems..... but not for mine
If somebody have a similar job configuration, prompt me please, what options must i use and what addition software must be in FreeBSD system......?
Or, may be specify me some information source.......
Thanks




More information about the samba mailing list