diff options
author | Günther Deschner <gd@samba.org> | 2010-10-07 12:45:04 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-10-07 13:24:22 +0200 |
commit | 71ab8f326b7e73ed888e46452d4c31ea17c69c60 (patch) | |
tree | b0beba87b3c06930ff98c5ff1470e25ad1c7594a | |
parent | ab31d9aac9a02756cf5af313ed36fc549a8f4b67 (diff) | |
download | samba-71ab8f326b7e73ed888e46452d4c31ea17c69c60.tar.gz samba-71ab8f326b7e73ed888e46452d4c31ea17c69c60.tar.bz2 samba-71ab8f326b7e73ed888e46452d4c31ea17c69c60.zip |
s3-samr: fix _samr_QueryGroupMember().
that array contains attributes, not sid types.
Guenther
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index bd82a3454e..1a94a1ed8f 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -5541,8 +5541,11 @@ NTSTATUS _samr_QueryGroupMember(struct pipes_struct *p, attr = NULL; } - for (i=0; i<num_members; i++) - attr[i] = SID_NAME_USER; + for (i=0; i<num_members; i++) { + attr[i] = SE_GROUP_MANDATORY | + SE_GROUP_ENABLED_BY_DEFAULT | + SE_GROUP_ENABLED; + } rids->count = num_members; rids->types = attr; |