From 0c3d46f17f79a4e1d0330de4c7b4145a4334c804 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 8 Jul 2003 02:19:16 +0000 Subject: 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) --- source3/auth/auth_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/auth/auth_util.c') 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, -- cgit