sam.ldb error

Rohit Rajan rohit.rajan at catalyst-us.com
Tue Sep 14 22:20:30 MDT 2010


  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.



More information about the samba-technical mailing list