The branch, master has been updated
       via  6132cf2 s3:auth/server_info: the primary rid should be in the 
groups rid array (bug #8798)
      from  5f05eac allow to use system iniparser library.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 6132cf2a5cd77c79546a2d6cc3fbf3c93f54183b
Author: Alejandro Escanero Blanco <aescan...@gmail.com>
Date:   Wed May 9 11:35:51 2012 +0200

    s3:auth/server_info: the primary rid should be in the groups rid array (bug 
#8798)
    
    Signed-off-by: Stefan Metzmacher <me...@samba.org>
    
    Autobuild-User: Stefan Metzmacher <me...@samba.org>
    Autobuild-Date: Wed May  9 19:36:01 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/auth/server_info.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c
index 2a9fe73..216e5e3 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;


-- 
Samba Shared Repository

Reply via email to