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
On 11/12/14 20:10, Elias Pereira wrote:> Hello guys, > > It is possible to work with the "dns-backend = SAMBA_INTERNAL" in Samba4 > NT4 style?In a word, *NO* A classic NT4 style domain does not have a DNS server built in, your server could use Bind9 or similar, but it wouldn't be part of samba. Rowland> > 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)')* > >
Thanks Rowland! :D On Thu, Dec 11, 2014 at 7:22 PM, Rowland Penny <rowlandpenny at googlemail.com> wrote:> On 11/12/14 20:10, Elias Pereira wrote: > >> Hello guys, >> >> It is possible to work with the "dns-backend = SAMBA_INTERNAL" in Samba4 >> NT4 style? >> > > In a word, *NO* > > A classic NT4 style domain does not have a DNS server built in, your > server could use Bind9 or similar, but it wouldn't be part of samba. > > Rowland > > >> 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)')* >> >> >> > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Elias Pereira