From faa8edccef556fb281d24b76b9739c994128f6ef Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 28 Mar 2012 16:14:09 +0200 Subject: s3:smbd: make use of smbXsrv_tcon for smb1 Pair-Programmed-With: Michael Adam metze --- source3/include/smb.h | 1 - source3/include/vfs.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/smb.h b/source3/include/smb.h index 1c05459cf5..f58095ec41 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -673,7 +673,6 @@ enum acl_compatibility {ACL_COMPAT_AUTO, ACL_COMPAT_WINNT, ACL_COMPAT_WIN2K}; #define VUID_OFFSET 100 /* Amount to bias returned vuid numbers */ #define TID_FIELD_INVALID 0 -#define CNUM_OFFSET 1 /* shift for bitmap index */ #define FNUM_FIELD_INVALID 0 diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 1496164faf..bd66d34043 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -280,7 +280,7 @@ struct share_params { typedef struct connection_struct { struct connection_struct *next, *prev; struct smbd_server_connection *sconn; /* can be NULL */ - struct smbXsrv_tcon0 *tcon; /* for now NULL for SMB1 */ + struct smbXsrv_tcon0 *tcon; /* can be NULL */ uint32_t cnum; /* an index passed over the wire */ struct share_params *params; bool force_user; -- cgit