Fix a problem that could prevent clients from updating the server schema if
the ds-cfg-show-all-attributes configuration attribute was set to true. The
ds-sync-state attribute should always be treated as operational, regardless of
this setting (in fact, this setting should only apply to the attributeTypes,
objectClasses, and matchingRules attributes).
OpenDS Issue Number: 1561
| | |
| | | ATTR_SYNCHRONIZATION_STATE_LC, valueSet); |
| | | attrList = new ArrayList<Attribute>(1); |
| | | attrList.add(attr); |
| | | if (synchronizationStateType.isOperational() && (! showAllAttributes)) |
| | | { |
| | | operationalAttrs.put(synchronizationStateType, attrList); |
| | | } |
| | | else |
| | | { |
| | | userAttrs.put(synchronizationStateType, attrList); |
| | | } |
| | | operationalAttrs.put(synchronizationStateType, attrList); |
| | | |
| | | // Add all the user-defined attributes. |
| | | for (Attribute a : userDefinedAttributes) |