1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

fix temporary bug so people can test 3.0 again; make sure to initialize the uid for the server_info struct

This commit is contained in:
Gerald Carter -
parent a9a3339b2d
commit 6a84297da5

View File

@ -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,