Displaying 20 results from an estimated 75 matches for "ldb_index".
Did you mean:
gdb_index
2016 Jun 27
2
unique index violation on objectSid
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...
2016 Mar 21
4
Unable to join DC to domain
...rator]:
workgroup is CB
realm is cb.cliffbells.com
checking sAMAccountName
Adding CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com
Join failed - cleaning up
checking sAMAccountName
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -
<00002071: ../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index
objectSid in CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com -
../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com> <>
File
"/usr/local/samba/lib/python2.7/site...
2016 Feb 09
2
ldbadd issue on Samba 4.1.13 AD DC
...;t find it.
2. add it back again
First remove the following attr from the saved file user-add.ldif
sAMAccountType
memberOf
objectGUID
primaryGroupID
Then ldbadd gives the error:
# ./bin/ldbadd -H /usr/local/samba/private/sam.ldb ./user-add.ldif
ERR: Entry already exists : "../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed
to re-index objectSid in CN=krtu,CN=Users,DC=mydomain,DC=com -
../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on objectSid
in CN=krtu,CN=Users,DC=mydomain,DC=com" on DN
CN=krtu,CN=Users,DC=mydomain,DC=com at block before line 36
Add failed after processing 0 rec...
2016 May 13
2
Fwd: Re: Invalid data for index DN=@INDEX:OBJECTCLASS:DNSNODE
...r-dc.comtek.co.uk
> checking sAMAccountName
> Adding CN=V-WARD,OU=Domain
Controllers,DC=chester-dc,DC=comtek,DC=co,DC=uk
> Join failed - cleaning up
> checking sAMAccountName
> ERROR(ldb): uncaught exception - LDAP error 68
LDAP_ENTRY_ALREADY_EXISTS - <00002071: ../ldb_tdb/ldb_index.c:1216:
Failed to re-index objectSid in CN=V-WARD,OU=Domain
Controllers,DC=chester-dc,DC=comtek,DC=co,DC=uk -
../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=V-WARD,OU=Domain Controllers,DC=chester-dc,DC=comtek,DC=co,DC=uk> <>
> File "/usr/lib/python2....
2016 May 16
3
Invalid data for index DN=@INDEX:OBJECTCLASS:DNSNODE
> This certainly sounds stressful.
Yes!
> Another way to (on a backup, particularly given your history above) remove the index is with samba-tool dbcheck --reindex.
Re-indexing...
completed re-index OK
0 root at empire:~[0] samba-tool dns add empire chester-dc.example.com
p-cats A 10.4.4.142 -U ash
Password for [CHESTER-DC\ash]:
Record added successfully
Thanks!
> The missing
2016 May 16
0
Invalid data for index DN=@INDEX:OBJECTCLASS:DNSNODE
...ser --uid=test.user
--random-password --uid-number=10226 --surname=user --given-name=test
--job-title=Storekeeper --department=Repairs
--mail-address=test.user at example.com --telephone-number=01244123456
--gid-number=513
> ERROR(ldb): Failed to add user 'test.user': -
../ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in CN=test
user,CN=Users,DC=chester-dc,DC=example,DC=com -
../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=test user,CN=Users,DC=chester-dc,DC=example,DC=com
We also can't add a DC:
> samba-tool domain join chester-dc.example....
2017 Oct 29
3
Make Samba 4 as Additional DC to Windows Server 2003R2
...rror as shown below and
stops. Samba-4 will remove itself being additional domain controller.
I tried this migration using Samba Version 4.7 and BIND9_DLZ as dns backend.
Error message:
-------------------------------------------------------------------------------------------
/lib/ldb/ldb_tdb/ldb_index.c:1189: unique index violation on objectSid
in CN=TDS COMMON\0ADEL:dae6fa1e-21c5-4837-9d8c-a9356794c897,CN=Deleted
Objects,DC=corp,DC=dtdc,DC=com, conficts with CN=SUDIKSHA VILAS
MHATRE\0ADEL:0b07eb12-99bd-4688-956f-55003920aa8f,CN=Deleted
Objects,DC=corp,DC=dtdc,DC=com in
@INDEX:OBJECTSID::AQ...
2015 Oct 07
1
samba-tool user add
...n two of them gives me the
following error
Please any idea
Karel slds
root at nbn-2:~# samba-tool user add pepito
New Password:
Retype Password:
params.c:pm_process() - Processing configuration file
"/etc/samba/shares.conf"
ERROR(ldb): Failed to add user 'pepito': - ../ldb_tdb/ldb_index.c:1216:
Failed to re-index objectSid in
CN=pepito,CN=Users,DC=dtnorte,DC=etecsa,DC=cu -
../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=pepito,CN=Users,DC=dtnorte,DC=etecsa,DC=c
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
176, in run...
2014 Aug 04
1
Join AD DC Fail (LDAP_ENTRY_ALREADY_EXISTS)
...group is AMTB-WORKGROUP
realm is kl01.amtb-m.org.my
checking sAMAccountName
Adding CN=AMTBSRV02,OU=Domain Controllers,DC=kl01,DC=amtb-m,DC=org,DC=my
Join failed - cleaning up
checking sAMAccountName
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -
<00002071: ../ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in
CN=AMTBSRV02,OU=Domain Controllers,DC=kl01,DC=amtb-m,DC=org,DC=my -
../ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in
CN=AMTBSRV02,OU=Domain Controllers,DC=kl01,DC=amtb-m,DC=org,DC=my - ../l> <>
File "/usr/lib64/python2.7/site-packa...
2016 Mar 21
2
Unable to join DC to domain
...ntName
Deleted CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com
Adding CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com
Join failed - cleaning up
checking sAMAccountName
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -
<00002071: ../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index
objectSid in CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com -
../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com> <>
File
"/usr/local/samba/lib/python2.7/site...
2014 Mar 25
1
Error joining Domain - after first try failed
...workgroup is DOMAIN
realm is local.domain.ws
checking sAMAccountName
Adding CN=SAMBA02,OU=Domain Controllers,DC=local,DC=domain,DC=ws
Join failed - cleaning up
checking sAMAccountName
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -
<00002071: ../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid
in CN=SAMBA02,OU=Domain Controllers,DC=local,DC=domain,DC=ws -
../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in
CN=SAMBA02,OU=Domain Controllers,DC=local,DC=domain,DC=ws - ../l> <>
File "/usr/lib/python2.7/dist-packages/samba...
2016 Apr 12
2
Failed to re-index objectSid after botched DLZ back-end update
...le "/usr/lib/python2.7/dist-packages/samba/provision/common.py", line 55, in setup_add_ldif
ldb.add_ldif(data, controls)
File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 225, in add_ldif
self.add(msg, controls)
_ldb.LdbError: (68, '../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in CN=dns-rhea,CN=Users,DC=knockinc,DC=loc - ../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in CN=dns-rhea,CN=Users,DC=knockinc,DC=loc')
As best I can tell, a "dns-rhea" user (Rhea is the DC I'm trying to upgrade) got...
2016 Nov 17
2
readonly DC?
...e }
File "/usr/lib/python2.7/dist-packages/samba/provision/common.py", line
55, in setup_add_ldif
ldb.add_ldif(data, controls)
File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 225, in
add_ldif
self.add(msg, controls)
_ldb.LdbError: (68, '../ldb_tdb/ldb_index.c:1216: Failed to re-index
objectSid in CN=dns-dc2,CN=Users,DC=samba,DC=lindenberg,DC=one -
../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=dns-dc2,CN=Users,DC=samba,DC=lindenberg,D\xe0')
With plenty of error messages that I don´t like to see, and after that
"klist...
2016 Feb 10
3
ldbadd issue on Samba 4.1.13 AD DC
...the saved file user-add.ldif
>> sAMAccountType
>> memberOf
>> objectGUID
>> primaryGroupID
>>
>> Then ldbadd gives the error:
>> # ./bin/ldbadd -H /usr/local/samba/private/sam.ldb ./user-add.ldif
>> ERR: Entry already exists : "../lib/ldb/ldb_tdb/ldb_index.c:1216:
>> Failed to re-index objectSid in CN=krtu,CN=Users,DC=mydomain,DC=com -
>> ../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on
>> objectSid in CN=krtu,CN=Users,DC=mydomain,DC=com" on DN
>> CN=krtu,CN=Users,DC=mydomain,DC=com at block before line...
2016 Mar 25
2
Unable to join DC to domain
...,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com
> Adding CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com
> Join failed - cleaning up
> checking sAMAccountName
> ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -
> <00002071: ../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index
> objectSid in CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com -
> ../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on objectSid
in
> CN=CBADC03,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com> <>
> File
> "/usr/local...
2018 Mar 14
2
Unable to successfully join Samba 4.8.0 or Windows 2008 R2 to a Samba 4.6.7 DC
This showed up at -d3:
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=blah,OU=blah,DC=blah - (null):
Operations error
Failed to commit objects: WERR_GEN_FAILURE
I've deleted the object in question and the failure just moves on to the
next object in the list.
Justin
On Tue, Mar 13, 2018 at 10:23 PM, Andrew...
2018 Jul 16
2
Need advice on upgrading from 4.3.11 to 4.8.3
...estdomain.org.tr
Password for [TESTDOMAIN\administrator]:
workgroup is TESTDOMAIN
realm is testdomain.org.tr
Adding CN=LDC4,OU=Domain Controllers,DC=testdomain,DC=org,DC=tr
Join failed - cleaning up
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS - <00002071: ../ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in CN=LDC4,OU=Domain Controllers,DC=testdomain,DC=org,DC=tr - ../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in CN=LDC4,OU=Domain Controllers,DC=testdomain,DC=org,DC=tr> <>
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__i...
2019 Jul 23
2
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
OK,
Thanks for all.
Regards;
On 23/07/2019 12:06, Rowland penny via samba wrote:
> On 23/07/2019 16:02, Carlos via samba wrote:
>> I haven't more output log, because i need join in dc in last week,
>> and i "resolved"(workaround) in used samba 4.6.X -> after -> 4.8.3.
>> Sorry.....
>
> OK, it would have been nice to have the output, this is
2016 Mar 27
0
Unable to join DC to domain
...rator]:
workgroup is CB
realm is cb.cliffbells.com
checking sAMAccountName
Adding CN=TESTES,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com
Join failed - cleaning up
checking sAMAccountName
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -
<00002071: ../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index
objectSid in CN=TESTES,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com -
../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=TESTES,OU=Domain Controllers,DC=cb,DC=cliffbells,DC=com> <>
File
"/usr/local/samba/lib/python2.7/site-p...
2017 Oct 28
3
Make Samba 4 as Additional DC to Windows Server 2003R2
Hi,
I am trying to make Samba 4 as additional DC to a Domain Hosted in
Windows Server 2003 R2. Is it possible? Or do we have to first migrate
to Windows Server 2008 R2 and then to Samba?
samba-toll domain join command comes upto Domain Provision and it
reports OK. However when the replication starts it fails. Error thrown is:
"Failed to bind to uuid