sgouvern / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

489e3dd Resolves: bug 486495

Authored and Committed by rmeggins 15 years ago
    Resolves: bug 486495
    Description: CoS operational qualifier doesn't work
    Reviewed by: rmeggins
    Fix Description: If not using the default, the processing for that case was skipped due to the incorrect if test for pDefAttr.  The fix is to move the test for pDefAttr into the lower condition, to make sure it is value before dereferencing it to check for attr_operational or attr_operational_default.  The attr_operational || attr_operational_default test has been moved into the using_default && pDefAttr condition, and into the !using_default && pCache condition for the non default case.  Parentheses have been added for readability.