summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-28 22:17:44 +0000
committerJeremy Allison <jra@samba.org>2000-11-28 22:17:44 +0000
commit366bf693d21a5fe3020b8528ae879d9734e67231 (patch)
treeeb0e3b5b53deec83ddb743fb6a6217b53b3e056d /source3/include/smb.h
parente28ad8f1d5a4c701d021f0e4a7893920eb021b6f (diff)
downloadsamba-366bf693d21a5fe3020b8528ae879d9734e67231.tar.gz
samba-366bf693d21a5fe3020b8528ae879d9734e67231.tar.bz2
samba-366bf693d21a5fe3020b8528ae879d9734e67231.zip
include/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as a single
statement after an 'if'. Tracking this down took 4 hours from my life and ANDREW I WANT THEM BACK !!!!! :-). include/smb.h smbd/password.c: Fixed the bug veritas reported with realloc of the validated_users array growing without bounds. This is now a linked list as god (Andrew) intended :-). Jeremy. (This used to be commit 346f2f9206b9b4ed123e2a61c0a48de630397b8a)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 756737af1d..300fd9872a 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1608,8 +1608,10 @@ struct ncacn_np
#include "rpc_secdes.h"
#include "nt_printing.h"
-typedef struct
+typedef struct user_struct
{
+ struct user_struct *next, *prev;
+ uint16 vuid; /* Tag for this entry. */
uid_t uid; /* uid of a validated user */
gid_t gid; /* gid of a validated user */