summaryrefslogtreecommitdiffstats
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 18:17:15 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 12:07:33 +0200
commit02d9ba6ee1db9d65fad5d8bcd7478abd82281d5d (patch)
tree582f62930f08d02734d653eba523a08c7886f85a /source3/smbd/proto.h
parentbb27bb081e79334861192b6e02c51fd70440c65e (diff)
downloadsamba-02d9ba6ee1db9d65fad5d8bcd7478abd82281d5d.tar.gz
samba-02d9ba6ee1db9d65fad5d8bcd7478abd82281d5d.tar.xz
samba-02d9ba6ee1db9d65fad5d8bcd7478abd82281d5d.zip
s3:smbd: change user_struct->vuid to uint64_t
Only sconn->smb1.sessions.next_vuid remains as uint16_t, so that we do not generate larger values yet. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 6 12:07:33 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 5327b06b289..d58115703d3 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -688,18 +688,18 @@ struct kernel_oplocks *linux_init_kernel_oplocks(struct smbd_server_connection *
/* The following definitions come from smbd/password.c */
struct user_struct *get_valid_user_struct(struct smbd_server_connection *sconn,
- uint16 vuid);
-bool is_partial_auth_vuid(struct smbd_server_connection *sconn, uint16 vuid);
+ uint64_t vuid);
+bool is_partial_auth_vuid(struct smbd_server_connection *sconn, uint64_t vuid);
struct user_struct *get_partial_auth_user_struct(struct smbd_server_connection *sconn,
- uint16 vuid);
-void invalidate_vuid(struct smbd_server_connection *sconn, uint16 vuid);
+ uint64_t vuid);
+void invalidate_vuid(struct smbd_server_connection *sconn, uint64_t vuid);
void invalidate_all_vuids(struct smbd_server_connection *sconn);
-int register_initial_vuid(struct smbd_server_connection *sconn);
+uint64_t register_initial_vuid(struct smbd_server_connection *sconn);
int register_homes_share(const char *username);
-int register_existing_vuid(struct smbd_server_connection *sconn,
- uint16 vuid,
- struct auth_session_info *session_info,
- DATA_BLOB response_blob);
+uint64_t register_existing_vuid(struct smbd_server_connection *sconn,
+ uint64_t vuid,
+ struct auth_session_info *session_info,
+ DATA_BLOB response_blob);
/* The following definitions come from smbd/pipes.c */