From: Ralph Boehme Date: Wed, 29 Jul 2020 12:17:52 +0000 (+0200) Subject: smbd: remove get_current_vuid() X-Git-Tag: talloc-2.3.2~982 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698d20d39d4eb1a46c8998d0f9be2719890bf803;p=thirdparty%2Fsamba.git smbd: remove get_current_vuid() 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 --- 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; -}