Request indirect groups
An 'everyone' group is apparently an indirect group and we weren't
getting it listed for users. 'Indirect' doesn't seem to be the same as
nested groups.
diff --git a/src/com/google/enterprise/adaptor/googleauthn/GoogleAuthnAdaptor.java b/src/com/google/enterprise/adaptor/googleauthn/GoogleAuthnAdaptor.java
index b844dd6..0514abb 100644
--- a/src/com/google/enterprise/adaptor/googleauthn/GoogleAuthnAdaptor.java
+++ b/src/com/google/enterprise/adaptor/googleauthn/GoogleAuthnAdaptor.java
@@ -191,7 +191,7 @@
try {
log.log(Level.FINE, "Getting group entries for {0}", username);
ArrayList<String> groups = new ArrayList<String>();
- GenericFeed groupsFeed = groupService.retrieveGroups(username, true);
+ GenericFeed groupsFeed = groupService.retrieveGroups(username, false);
while (groupsFeed != null) {
for (GenericEntry entry : groupsFeed.getEntries()) {
// Use groupName instead of groupId because groupName uses the group's