[SCM] Samba Shared Repository - branch master updated

Ralph Böhme slow at samba.org
Wed Jul 29 13:45:03 UTC 2020


The branch, master has been updated
       via  698d20d39d4 smbd: remove get_current_vuid()
      from  2aace18f170 ldb_controls: control_to_string avoids crash

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


- Log -----------------------------------------------------------------
commit 698d20d39d4eb1a46c8998d0f9be2719890bf803
Author: Ralph Boehme <slow at samba.org>
Date:   Wed Jul 29 14:17:52 2020 +0200

    smbd: remove get_current_vuid()
    
    The last user was removed by 3d09993725412bb0e856cc2ebf6ac68f8e762730.
    
    Signed-off-by: Ralph Boehme <slow at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Wed Jul 29 13:44:47 UTC 2020 on sn-devel-184

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

Summary of changes:
 source3/smbd/proto.h | 1 -
 source3/smbd/uid.c   | 5 -----
 2 files changed, 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index da85b5cb1a6..2e2480d7075 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -1285,7 +1285,6 @@ uid_t get_current_uid(connection_struct *conn);
 gid_t get_current_gid(connection_struct *conn);
 const struct security_unix_token *get_current_utok(connection_struct *conn);
 const struct security_token *get_current_nttok(connection_struct *conn);
-uint64_t get_current_vuid(connection_struct *conn);
 
 /* The following definitions come from smbd/utmp.c  */
 
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index f425f209bb9..11e5efb6cf1 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -745,8 +745,3 @@ const struct security_token *get_current_nttok(connection_struct *conn)
 	}
 	return sec_ctx_active_token();
 }
-
-uint64_t get_current_vuid(connection_struct *conn)
-{
-	return current_user.vuid;
-}


-- 
Samba Shared Repository



More information about the samba-cvs mailing list