sam.ldb error

Matthieu Patou mat at samba.org
Tue Sep 14 01:00:38 MDT 2010


  Hi Rohit,


Try to reindex your database and try to understand what are the nasty 
things that you are doing with your provision, you should always edit it 
carefully  !

Matthieu.
On 14/09/2010 06:57, Rohit Rajan wrote:
>  Hi All,
>
> i have got the following error when trying to create the user from the 
> "net command"
>
> #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
>
> Thanks
> Rohit Rajan
>
>
> On 9/14/2010 8:14 AM, Rohit Rajan wrote:
>>  Hi All,
>>
>> I'm getting the following error when trying to edit the sam.ldb file, 
>> also i'm not able to add any user from "Active directory users and 
>> computer"
>>
>> {samba Version 4.0.0alpha12-GIT-35aed17, Python 2.4, centos 5.5 }
>>
>>
>> ]# ldbedit -H /usr/local/samba/private/sam.ldb
>> failed to modify CN=Administrator,CN=Users,DC=catalyst-us,DC=com - 
>> error in module samldb: Unwilling to perform (53)
>> # 0 adds  0 modifies  0 deletes
>>
>> Thanks
>> Rohit Rajan
>>
>>
>> -----------
>> 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.
>


-- 
Matthieu Patou
Samba Team        http://samba.org



More information about the samba-technical mailing list