From 118d37d6a093456805345f0683f1da2f26c2592a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 30 Apr 2007 17:07:32 +0000
Subject: [PATCH] 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/src/server/org/opends/server/backends/SchemaBackend.java | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/SchemaBackend.java b/opends/src/server/org/opends/server/backends/SchemaBackend.java
index 1bb9ff3..102c583 100644
--- a/opends/src/server/org/opends/server/backends/SchemaBackend.java
+++ b/opends/src/server/org/opends/server/backends/SchemaBackend.java
@@ -872,14 +872,7 @@
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)
--
Gitblit v1.10.0