diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 31bb343474..11659f2870 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -366,6 +366,8 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser, } fstrcpy(user,pass->pw_name); conn->force_user = True; + conn->uid = pass->pw_uid; + conn->gid = pass->pw_gid; string_set(&conn->user,pass->pw_name); passwd_free(&pass); DEBUG(3,("Guest only user %s\n",user)); |