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

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

(This used to be commit 6a84297da53e8658f4bcfa4951ceed011b69201f)
This commit is contained in:
Gerald Carter 2003-07-08 02:19:16 +00:00
parent e25785fbdc
commit 0c3d46f17f

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,