]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: remove get_current_vuid()
authorRalph Boehme <slow@samba.org>
Wed, 29 Jul 2020 12:17:52 +0000 (14:17 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 29 Jul 2020 13:44:47 +0000 (13:44 +0000)
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

source3/smbd/proto.h
source3/smbd/uid.c

index da85b5cb1a63c3153233c37b8c658be03157c8b4..2e2480d7075a3df4cd7b433b275814dec5a51234 100644 (file)
@@ -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  */
 
index f425f209bb95d77d03246df1f3c24de6ca6ee00b..11e5efb6cf1bc0aa5f666b38916718cc989623c6 100644 (file)
@@ -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;
-}