From 698d20d39d4eb1a46c8998d0f9be2719890bf803 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Wed, 29 Jul 2020 14:17:52 +0200 Subject: smbd: remove get_current_vuid() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last user was removed by 3d09993725412bb0e856cc2ebf6ac68f8e762730. Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Wed Jul 29 13:44:47 UTC 2020 on sn-devel-184 --- source3/smbd/proto.h | 1 - source3/smbd/uid.c | 5 ----- 2 files changed, 6 deletions(-) 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; -} -- cgit v1.2.1