diff options
author | Gerald Carter <jerry@samba.org> | 2003-07-08 02:19:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-07-08 02:19:16 +0000 |
commit | 0c3d46f17f79a4e1d0330de4c7b4145a4334c804 (patch) | |
tree | da47e4ecd765cef5bd9b78aae81e27735a7d948f /source3 | |
parent | e25785fbdc72357142e8229e2925bd9695f9ae3e (diff) | |
download | samba-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')
-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, |