Skip to content
Snippets Groups Projects
Commit 0ee49056 authored by Jeff Burke's avatar Jeff Burke
Browse files

ac2release, added more debugging to GroupDAO for null attribute error

parent 0a079113
No related branches found
No related tags found
No related merge requests found
...@@ -967,6 +967,7 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO ...@@ -967,6 +967,7 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
protected Group getGroup(final DN groupDN) protected Group getGroup(final DN groupDN)
throws LDAPException, GroupNotFoundException, UserNotFoundException throws LDAPException, GroupNotFoundException, UserNotFoundException
{ {
logger.debug("groupDN=" + groupDN.toNormalizedString());
Filter filter = Filter.createEqualityFilter("entrydn", Filter filter = Filter.createEqualityFilter("entrydn",
groupDN.toNormalizedString()); groupDN.toNormalizedString());
...@@ -996,6 +997,8 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO ...@@ -996,6 +997,8 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
throw new GroupNotFoundException(groupDN.toNormalizedString()); throw new GroupNotFoundException(groupDN.toNormalizedString());
} }
logger.debug("cn=" + searchResult.getAttributeValue("cn"));
logger.debug("owner=" + searchResult.getAttributeValue("owner"));
Group group = new Group(searchResult.getAttributeValue("cn"), Group group = new Group(searchResult.getAttributeValue("cn"),
userPersist.getMember( userPersist.getMember(
new DN(searchResult.getAttributeValue( new DN(searchResult.getAttributeValue(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment