summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2020-07-29 14:17:52 +0200
committerRalph Boehme <slow@samba.org>2020-07-29 13:44:47 +0000
commit698d20d39d4eb1a46c8998d0f9be2719890bf803 (patch)
tree30cd3b8a0c531a7f07c6a1a370172b6fb537233a
parent2aace18f170644da9c293342a6df5e5b2ae8da25 (diff)
downloadsamba-698d20d39d4eb1a46c8998d0f9be2719890bf803.tar.gz
smbd: remove get_current_vuid()
The last user was removed by 3d09993725412bb0e856cc2ebf6ac68f8e762730. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Wed Jul 29 13:44:47 UTC 2020 on sn-devel-184
-rw-r--r--source3/smbd/proto.h1
-rw-r--r--source3/smbd/uid.c5
2 files changed, 0 insertions, 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;
-}