From b716ed194e9727525a9f4f8a3d46d859aa8e3183 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Mon, 22 Sep 2008 22:14:52 +0000
Subject: [PATCH] issue 3492: geteffective rights returns incorrect rights of isMemberOf attribute
---
opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java
index 27dce49..011d549 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java
@@ -223,8 +223,10 @@
nonRightsAttrs.addAll(e.getOperationalAttributes().keySet());
else {
AttributeType attrType;
- if((attrType = DirectoryServer.getAttributeType(a)) == null)
- attrType = DirectoryServer.getDefaultAttributeType(a);
+ if((attrType =
+ DirectoryServer.getAttributeType(a.toLowerCase())) == null)
+ attrType =
+ DirectoryServer.getDefaultAttributeType(a.toLowerCase());
nonRightsAttrs.add(attrType);
}
}
--
Gitblit v1.10.0