Upgrade provision error again

Matthieu Patou mat at samba.org
Mon Jul 5 15:09:14 MDT 2010

  Hi Rohit,

Can you try this patch.

It should do the job.


On 01/07/2010 07:40, Rohit Rajan wrote:
> I have checked and found that the "objectSid: 
> S-1-5-21-2760325229-3840432484-2066034265-1101"  of DnsAdmins in 
> "/usr/local/samba/private/referenceprovision-toinF/private/sam.ldb" 
> clashing with the computer record in "/usr/local/samba/private/sam.ldb"
> should i remove the DnsAdmins record from the referenceprovision 
> sam.ldb??
> Thanks
> Rohit
> On 6/29/2010 10:10 AM, Andrew Bartlett wrote:
>> On Tue, 2010-06-29 at 08:52 +0530, Rohit Rajan wrote:
>>> Dear All,
>>> I have received the following error while upgrading from Version
>>> 4.0.0alpha12-GIT-5c98ccd to Git Pull "1e8876a  master     ->  
>>> origin/master"
>>> _ldb.LdbError: (68, '../lib/ldb/ldb_tdb/ldb_index.c:1175: Failed to
>>> re-index objectSid in CN=DnsAdmins,CN=Users,DC=XXXX,DC=com -
>>> ../lib/ldb/ldb_tdb/ldb_index.c:1107: unique index violation on 
>>> objectSid
>>> in CN=DnsAdmins,CN=Users,DC=XXXX,DC=com')
>> So, as it says:  Somehow in either the old or new provision (I'm not
>> 100% sure), a duplicate SID has been added, but was not previously
>> detected.
>> Can you see if you can find the DnsAdmins record in the old DB and see
>> if that might be the problem?
>> Perhaps it's the recent DNS-related provision change causing problems?
>> Andrew Bartlett
> This message may contain confidential, proprietary or legally 
> privileged information. In case you are not the original intended 
> recipient of the message, you must not, directly or indirectly, use, 
> disclose, distribute, print, or copy any part of this message and you 
> are requested to delete it and inform the sender.
> Any views expressed in this message are those of the individual sender 
> unless otherwise stated. Nothing contained in this message shall be 
> construed as an offer or acceptance of any offer by "Catalyst Business 
> Partners" or any of its subsidiaries unless sent with that express 
> intent and with due authority of Catalyst Business Partners.
> Catalyst Business Partners has taken sufficient measures and 
> precautions to prevent the spread of viruses. However the company 
> accepts no liability for any damage caused by any virus transmitted by 
> this email.

Matthieu Patou
Samba Team        http://samba.org

More information about the samba-technical mailing list