sam.ldb error

Rohit Rajan rohit.rajan at catalyst-us.com
Thu Sep 16 00:15:20 MDT 2010


  I restored the older version (Version 4.0.0alpha12-GIT-72cd5bc) from 
the backups and everthing is working fine its only when i upgraded to 
the Version 4.0.0alpha12-GIT-35aed17 i started facing this problem.


I'm going to do a full rebuild and upgrade my provision again lets see 
what happens this time.

Thanks

On 9/16/2010 10:58 AM, Rohit Rajan wrote:
>  Hi Mat,
>
> any luck with this, please let me know if I'm doing anything wrong here
>
>
> On 9/15/2010 9:50 AM, Rohit Rajan wrote:
>>  following is the error when trying to create a new user
>>
>> #net newuser "username"
>> New Password:
>> ERROR: Failed to create user "username" : 
>> ../lib/ldb/ldb_tdb/ldb_index.c:1183: Failed to re-index objectSid in 
>> CN=username,CN=Users,DC=XXX,DC=com - 
>> ../lib/ldb/ldb_tdb/ldb_index.c:1115: unique index violation on 
>> objectSid in CN=username,CN=Users,DC=XXX,DC=com
>>
>> I choose to do ldbedit -H /usr/local/samba/private/sam.ldb find the 
>> user administrator and then change the value of useraccountcontrol to 
>> the suggested 512
>>
>>
>>
>> On 9/14/2010 3:40 PM, Matthieu Patou wrote:
>>>  Hi,
>>>
>>> On 14/09/2010 13:16, Rohit Rajan wrote:
>>>>  all i was doing as suggested by the upgradeprovision script to 
>>>> change the userAccountControl for user Administrator from value 
>>>> 66048 to 512 i'm now able to edit the sam.ldb successfully but 
>>>> still not able to add any user
>>>>
>>> What is the error message ?
>>>
>>> And how did you try to modify the Administrator value ?
>>>
>>
>>
>>
>> -----------
>> 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.
>>
>>
>
>
>
> -----------
> 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.
>
>



-----------
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.



More information about the samba-technical mailing list