[Samba] unique index violation on objectSid

mathias dufresne infractory at gmail.com
Mon Jun 27 14:45:47 UTC 2016

Perhaps you don't have yet duplicate objectSid as that's not supposed to be
Rather than scripting something to look for objectSid used twice I would
start with dbcheck and other tools to verify that your database is
consistent and identical on all servers.

2016-06-27 15:21 GMT+02:00 Zhuchenko Valery <zvn at belkam.com>:

> Hi all!
> Today, after two years of production, I get this error:
> samba-tool user create test20160627 testpassword
> ERROR(ldb): Failed to add user 'test20160627':  -
> ../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in
> CN=test20160627,CN=Users,DC=ad... - ../lib/ldb/ldb_tdb/ldb_index.c:1148:
> unique index violation on objectSid in CN=test20160627,CN=Users,DC=ad...
> Help me please, how to find which objectSid is not unique?
> I have 3 DC's on centos 7, samba 4.1 (I know, old version).
> Valery
> --
> 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