s4:rootdse: only return "tokenGroups", when the client asked for them
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Apr 2010 17:01:17 +0000 (19:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Apr 2010 17:02:26 +0000 (19:02 +0200)
metze

source4/dsdb/samdb/ldb_modules/rootdse.c

index d18e41c294091aeb439b9331ec74702178b20f24..f10a125eb618f3424c3be4566f803d6fed308995 100644 (file)
@@ -382,7 +382,7 @@ static int rootdse_add_dynamic(struct ldb_module *module, struct ldb_message *ms
                }
        }
 
-       if (do_attribute(attrs, "tokenGroups")) {
+       if (do_attribute_explicit(attrs, "tokenGroups")) {
                unsigned int i;
                /* Obtain the user's session_info */
                struct auth_session_info *session_info