[Samba] [BUG] Fail update Samba 4.8.0

Rafael Oliveira d'Ávila davilatr at gmail.com
Tue Apr 24 13:22:48 UTC 2018


After performing the update of samba version 4.7.3 to version 4.8.0, an
error occurred while starting the service.

The samba seems to have trouble finding its way through the db:

Unable to determine the DomainSID, can not enforce uniqueness constraint on
local domainSIDs

Searching for dsServiceName in rootDSE failed: operations error at
../source4/dsdb/samdb/ldb_modules/rootdse.c:516
Failed to find our own NTDS Settings DN in the ldb!
Searching for dsServiceName in rootDSE failed: operations error at
../source4/dsdb/samdb/ldb_modules/rootdse.c:516
Failed to find our own NTDS Settings DN in the ldb!
ERROR(ldb): uncaught exception - operations error at
../source4/dsdb/samdb/ldb_modules/rootdse.c:516
  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dbcheck.py",
line 135, in run
    reset_well_known_acls=reset_well_known_acls)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/dbchecker.py",
line 95, in __init__
    self.ntds_dsa = ldb.Dn(samdb, samdb.get_dsServiceName())
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/samdb.py",
line 943, in get_dsServiceName
    res = self.search(base="", scope=ldb.SCOPE_BASE,
attrs=["dsServiceName"])


--------------------------------------------------------------------------

*ldbsearch -H private / sam.ldb*

search error - No such Base DN: DC=example,DC=com


Can someone help me? Did you solve this problem?

I did the donwgrade for the service to work.




*Atte.*

*Rafael d'Ávila.*

*"O único lugar onde o sucesso vem antes do trabalho é no dicionário."*


More information about the samba mailing list