[Samba] unique index violation on objectSid

Zhuchenko Valery zvn at belkam.com
Mon Jun 27 13:21:13 UTC 2016


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





More information about the samba mailing list