Tuesday, June 7, 2016

[389-users] Re: ldapsearch and 389ds

On 06/07/2016 11:03 AM, Job Cacka wrote:
>> On 06/06/2016 05:02 PM, Job Cacka wrote:
>> Okay, so I think the gidNumber index just needs to be regenerated:
>>
> db2index.pl -n userroot _D "cn=directory manager" -w PASSWORD -t gidNumber
>
> Running that command with a '-D' instead of '_D' fixed the ldapsearch problem when looking for gidNumber.
Sorry about the typo.
>
> Are there other indexes that should be reindexed? How often should that occur? I could setup a script to run every Sunday at midnight for instance.
Typically you never need to reindex your attributes unless you change an
index's configuration, or create a new index.

You can always reindex all your attributes by running the above command
without the -t option:

db2index.pl -n userroot -D "cn=directory manager" -w PASSWORD


Now, there is a known issue with index corruption that was fixed in:
389-ds-base-1.2.11.15-70.el6

Its possible you ran into this bug, but it takes a special type of
modify operation for the corruption to occur. See the ticket for more info:

https://fedorahosted.org/389/ticket/48370
https://bugzilla.redhat.com/show_bug.cgi?id=1282457

Regards,
Mark

>
> Thanks,
> Job
> --
> 389-users mailing list
> 389-users@lists.fedoraproject.org
> https://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
--
389-users mailing list
389-users@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org

No comments:

Post a Comment