[Samba] DNS backend on samba4 nt4 style

Elias Pereira empbilly at gmail.com
Thu Dec 11 13:10:51 MST 2014


Hello guys,

It is possible to work with the "dns-backend = SAMBA_INTERNAL" in Samba4
NT4 style?

I followed the link below, but there was some errors.
https://wiki.samba.org/index.php/Changing_the_DNS_backend

Errors:

*# samba_upgradedns --dns-backend=SAMBA_INTERNAL*
*lpcfg_load: refreshing parameters from /etc/samba/smb.conf*
*params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"*
*Reading domain information*
*lpcfg_load: refreshing parameters from /etc/samba/smb.conf*
*params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"*
*module samba_dsdb initialization failed : No such object*
*Unable to load modules for /var/lib/samba/private/sam.ldb:
dsdb_module_search_dn: did not find base dn @ROOTDSE (0 results)*
*Traceback (most recent call last):*
*  File "/usr/sbin/samba_upgradedns", line 259, in <module>*
*    ldbs = get_ldbs(paths, creds, system_session(), lp)*
*  File "/usr/lib/python2.7/dist-packages/samba/upgradehelpers.py", line
140, in get_ldbs*
*    ldbs.sam = SamDB(paths.samdb, session_info=session, credentials=creds,
lp=lp, options=["modules:samba_dsdb"])*
*  File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 56, in
__init__*
*    options=options)*
*  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in
__init__*
*    self.connect(url, flags, options)*
*  File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 71, in
connect*
*    options=options)*
*_ldb.LdbError: (32, 'dsdb_module_search_dn: did not find base dn @ROOTDSE
(0 results)')*


-- 
Elias Pereira


More information about the samba mailing list