summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/password.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 4f9f91d76d..9b06e0dcb5 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -152,6 +152,7 @@ uint16 register_vuid(int uid,int gid, char *name,BOOL guest)
if (!validated_users)
{
DEBUG(0,("Failed to realloc users struct!\n"));
+ num_validated_users = 0;
return UID_FIELD_INVALID;
}