[Samba] Unable to successfully join Samba 4.8.0 or Windows 2008 R2 to a Samba 4.6.7 DC
barış tombul
bbtombul at gmail.com
Thu Mar 15 11:15:48 UTC 2018
samba-tool dbcheck --cross-ncs --fix
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"])
2018-03-15 13:48 GMT+03:00 Justin Foreman via samba <samba at lists.samba.org>:
> No. If I delete that record, the process breaks in the same way on another
> record in the same OU. I could try deleting all records in that OU to see
> if it’s something wrong there.
>
> > On Mar 15, 2018, at 2:14 AM, Andrew Bartlett <abartlet at samba.org> wrote:
> >
> > On Wed, 2018-03-14 at 16:55 -0400, Justin Foreman wrote:
> >> Note that I turned up to -d5 but the relevant output didn't seem to
> change. I just cleaned up my obfuscation for clarity (all referenced DNs
> were identical):
> >>
> >> DRS replication add DN of aca72580-587e-4dab-adee-07a5f8027dfa is
> CN=foo,OU=bar,DC=baz
> >> Failed to apply records: Failed to locally apply remote add of
> CN=foo,OU=bar,DC=baz: ../lib/ldb/ldb_tdb/ldb_index.c:2012: Failed to
> re-index servicePrincipalName in CN=foo,OU=bar,DC=baz - (null): Operations
> error
> >> Failed to commit objects: WERR_GEN_FAILURE
> >
> > This suggests an issue creating an index for servicePrincipalName on
> > that record, which is odd. Is there anything unusual about that
> > record?
> >
> > Andrew Bartlett
> > --
> > Andrew Bartlett http://samba.org/~abartlet/
> > Authentication Developer, Samba Team http://samba.org
> > Samba Developer, Catalyst IT http://catalyst.net.nz/
> services/samba
> >
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list