search for: ldb_tdb

Displaying 20 results from an estimated 101 matches for "ldb_tdb".

2018 Jul 10
0
DRS and DNS sync are not working after update from 4.8.2 to 4.8.3
...site-packages/samba/drs_utils.py", line 58, in drsuapi_connect > raise drsException("DRS connection to %s failed: %s" % (server, e)) > > and in the log: > > Jun 28 11:27:05 sklad-dc.almi-russia.local samba[1130]: task[dnsupdate][1130]: ldb: Failed to lock > db: ../ldb_tdb/ldb_tdb.c:147: Reusing ldb opend by pid 1110 in process 1130 > Jun 28 11:27:05 sklad-dc.almi-russia.local samba[1130]: task[dnsupdate][1130]: / Protocol error for > DC=almi-russia,DC=local > Jun 28 11:27:05 sklad-dc.almi-russia.local samba[1130]: task[dnsupdate][1130]: [2018/06/28 > 11:...
2018 Jun 28
5
DRS and DNS sync are not working after update from 4.8.2 to 4.8.3
...uot;/usr/lib/python2.7/site-packages/samba/drs_utils.py", line 58, in drsuapi_connect raise drsException("DRS connection to %s failed: %s" % (server, e)) and in the log: Jun 28 11:27:05 sklad-dc.almi-russia.local samba[1130]: task[dnsupdate][1130]: ldb: Failed to lock db: ../ldb_tdb/ldb_tdb.c:147: Reusing ldb opend by pid 1110 in process 1130 Jun 28 11:27:05 sklad-dc.almi-russia.local samba[1130]: task[dnsupdate][1130]: / Protocol error for DC=almi-russia,DC=local Jun 28 11:27:05 sklad-dc.almi-russia.local samba[1130]: task[dnsupdate][1130]: [2018/06/28 11:27:05.026829, 0]...
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...
2016 Mar 21
4
Unable to join DC to domain
...administrator]: 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/pyth...
2016 Feb 09
2
ldbadd issue on Samba 4.1.13 AD DC
...uldn'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 proces...
2016 May 13
2
Fwd: Re: Invalid data for index DN=@INDEX:OBJECTCLASS:DNSNODE
...s chester-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/li...
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
...d test.user --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-d...
2017 Oct 29
3
Make Samba 4 as Additional DC to Windows Server 2003R2
...up an error 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:OBJ...
2015 Oct 07
1
samba-tool user add
...users in 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...
2014 Aug 04
1
Join AD DC Fail (LDAP_ENTRY_ALREADY_EXISTS)
...r]: workgroup 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/...
2016 Mar 21
2
Unable to join DC to domain
...sAMAccountName 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/pyth...
2014 Mar 25
1
Error joining Domain - after first try failed
...omain.ws 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-pack...
2016 Apr 12
2
Failed to re-index objectSid after botched DLZ back-end update
...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, '../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 up...
2016 Nov 17
2
readonly DC?
...: dnsname } 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 &q...
2016 Feb 10
3
ldbadd issue on Samba 4.1.13 AD DC
...tr 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 be...
2016 Mar 25
2
Unable to join DC to domain
...=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 > "...
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 P...
2018 Jul 16
2
Need advice on upgrading from 4.3.11 to 4.8.3
...C ldc1.testdomain.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/...
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