diff options
-rw-r--r-- | source3/auth/auth_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index ae1be761da..408b26f514 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -787,7 +787,8 @@ NTSTATUS make_server_info_sam(auth_serversupplied_info **server_info, } (*server_info)->unix_name = smb_xstrdup(pwd->pw_name); (*server_info)->gid = pwd->pw_gid; - + (*server_info)->uid = pwd->pw_uid; + passwd_free(&pwd); if (!NT_STATUS_IS_OK(nt_status = add_user_groups(server_info, sampass, |