summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-10-07 12:45:45 +0200
committerGünther Deschner <gd@samba.org>2010-10-07 13:24:22 +0200
commite0b340247a4f7f0b6506752add0af3df8deb9920 (patch)
treec30603d34c5a265506b8237806313322bd998ddb
parent71ab8f326b7e73ed888e46452d4c31ea17c69c60 (diff)
downloadsamba-e0b340247a4f7f0b6506752add0af3df8deb9920.tar.gz
samba-e0b340247a4f7f0b6506752add0af3df8deb9920.tar.bz2
samba-e0b340247a4f7f0b6506752add0af3df8deb9920.zip
s4-samr: Fix dcesrv_samr_QueryGroupMember.
Guenther
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 4a3f95e68d..e9ed2efb86 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -2168,7 +2168,9 @@ static NTSTATUS dcesrv_samr_QueryGroupMember(struct dcesrv_call_state *dce_call,
return status;
}
- array->types[array->count] = 7; /* RID type of some kind, not sure what the value means. */
+ array->types[array->count] = SE_GROUP_MANDATORY |
+ SE_GROUP_ENABLED_BY_DEFAULT |
+ SE_GROUP_ENABLED;
array->count++;
}