summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/local.h2
-rw-r--r--source3/include/smb.h7
2 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 46349cfa6d..15231e92ee 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -117,7 +117,7 @@
#endif
/* the size of the uid cache used to reduce valid user checks */
-#define UID_CACHE_SIZE 4
+#define VUID_CACHE_SIZE 32
/* the following control timings of various actions. Don't change
them unless you know what you are doing. These are all in seconds */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 263dd67c54..1ff0f1c328 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -430,9 +430,9 @@ typedef struct
time_t status_time;
} dir_status_struct;
-struct uid_cache {
+struct vuid_cache {
int entries;
- uid_t list[UID_CACHE_SIZE];
+ uint16 list[VUID_CACHE_SIZE];
};
typedef struct
@@ -461,7 +461,8 @@ typedef struct connection_struct
unsigned cnum; /* an index passed over the wire */
int service;
BOOL force_user;
- struct uid_cache uid_cache;
+ BOOL force_group;
+ struct vuid_cache vuid_cache;
void *dirptr;
BOOL printer;
BOOL ipc;