summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAlejandro Escanero Blanco <aescanero@gmail.com>2012-05-09 11:35:51 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-09 19:36:01 +0200
commit6132cf2a5cd77c79546a2d6cc3fbf3c93f54183b (patch)
tree769f05827db089690253ee4d3d9695ad8fb8532f /source3/auth
parent5f05eacd27f0dc512748c14cac5f4d6afb327f99 (diff)
downloadsamba-6132cf2a5cd77c79546a2d6cc3fbf3c93f54183b.tar.gz
samba-6132cf2a5cd77c79546a2d6cc3fbf3c93f54183b.tar.bz2
samba-6132cf2a5cd77c79546a2d6cc3fbf3c93f54183b.zip
s3:auth/server_info: the primary rid should be in the groups rid array (bug #8798)
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 9 19:36:01 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/server_info.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c
index 2a9fe736bc..216e5e32d7 100644
--- a/source3/auth/server_info.c
+++ b/source3/auth/server_info.c
@@ -263,11 +263,6 @@ static NTSTATUS group_sids_to_info3(struct netr_SamInfo3 *info3,
for (i = 0; i < num_sids; i++) {
ok = sid_peek_check_rid(domain_sid, &sids[i], &rid);
if (ok) {
-
- /* if it is the primary gid, skip it, we
- * obviously already have it */
- if (info3->base.primary_gid == rid) continue;
-
/* store domain group rid */
groups->rids[groups->count].rid = rid;
groups->rids[groups->count].attributes = attributes;