diff options
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r-- | source3/smbd/password.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index cff47c0a94..989d3f045d 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -270,6 +270,8 @@ uint16 register_vuid(uid_t uid,gid_t gid, char *unix_name, char *requested_name, } } + memset(&vuser->dc, '\0', sizeof(vuser->dc)); + return (uint16)((num_validated_users - 1) + VUID_OFFSET); } |