From 366bf693d21a5fe3020b8528ae879d9734e67231 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 28 Nov 2000 22:17:44 +0000 Subject: 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) --- source3/include/smb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/include/smb.h') 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 */ -- cgit