1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Always initialize.

This commit is contained in:
Andrew Bartlett 0001-01-01 00:00:00 +00:00
parent aac01dc7bc
commit 75081860af

View File

@ -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));