summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-15 19:01:17 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-15 19:02:26 +0200
commita7f8c197adbc684dd9de6356ea1a5a9b59a5c322 (patch)
tree4ca27416b63a92108ef16d55f0741cd78580fbf5 /source4/dsdb/samdb/ldb_modules
parent13bbfa3fcabfc97a57ae56ef916bf13137fb5290 (diff)
downloadsamba-a7f8c197adbc684dd9de6356ea1a5a9b59a5c322.tar.gz
samba-a7f8c197adbc684dd9de6356ea1a5a9b59a5c322.tar.bz2
samba-a7f8c197adbc684dd9de6356ea1a5a9b59a5c322.zip
s4:rootdse: only return "tokenGroups", when the client asked for them
metze
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index d18e41c294..f10a125eb6 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -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