sam.ldb error
Matthieu Patou
mat at samba.org
Fri Sep 17 03:50:01 MDT 2010
Try something like that:
ldbsearch -H sam.ldb | grep -i pool
You should see something like this:
rIDAvailablePool: 1501-1073741823
rIDPreviousAllocationPool: 1001-1500
rIDAllocationPool: 1100-1599
rIDUsedPool: 0
Also give me the highest rid of your provision (it's the last 4 numbers
in sid, so basically you get all you sid and you sort them).
Matthieu.
On 17/09/2010 12:13, Rohit Rajan wrote:
> I got this user after the upgradwe provision is done upgrade which is
> successful and the make install is done, then i started the samba in
> standard mode and tried to create a user, is dose not matter what user
> i create it gives me the same error. also i'm not able to add
> computers to the domain and get a different error, (i do not have a
> screenshot of that error) will produce and provide later.
>
> i did the search and got 160 records of all the users and computers
> that i have in my domain the objectSid's are all different in those
> 160 records below is the objectSid of 1 compuetr account and i user
> account
>
> Computer account
> objectSid: S-1-5-21-2760325229-3840432484-2066034265-1067
>
> User account
> objectSid: S-1-5-21-2760325229-3840432484-2066034265-1013
>
> Thanks
> Rohit
>
> On 9/16/2010 6:08 PM, Matthieu Patou wrote:
>> On 16/09/2010 10:25, Rohit Rajan wrote:
>>> Hi Mat,
>>>
>>> I have got the same error again when i upgraded my provision to the
>>> version "35aed17 "
>>>
>>> net newuser testi
>>> New Password:
>>> ERROR: Failed to create user "testi" :
>>> ../lib/ldb/ldb_tdb/ldb_index.c:1183: Failed to re-index objectSid in
>>> CN=testi,CN=Users,DC=XXX,DC=com -
>>> ../lib/ldb/ldb_tdb/ldb_index.c:1115: unique index violation on
>>> objectSid in CN=testi,CN=Users,DC=XXX,DC=com
>>
>>
>> When did you get this error message ?
>> Can you do a ldbsearch -H sam.ldb 'objectSid=*' objectSid ?
>>
>> Matthieu
>>
>
>
>
> -----------
> 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