summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-08 02:19:16 +0000
committerGerald Carter <jerry@samba.org>2003-07-08 02:19:16 +0000
commit0c3d46f17f79a4e1d0330de4c7b4145a4334c804 (patch)
treeda47e4ecd765cef5bd9b78aae81e27735a7d948f /source3/auth
parente25785fbdc72357142e8229e2925bd9695f9ae3e (diff)
downloadsamba-0c3d46f17f79a4e1d0330de4c7b4145a4334c804.tar.gz
samba-0c3d46f17f79a4e1d0330de4c7b4145a4334c804.tar.bz2
samba-0c3d46f17f79a4e1d0330de4c7b4145a4334c804.zip
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)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c3
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,