smbd: let check_user_ok() construct ent->session_info in one coherent block
commite469d6c73059d53dd10d590db7ab3118e66f731a
authorStefan Metzmacher <metze@samba.org>
Thu, 3 May 2018 13:04:30 +0000 (3 15:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2018 06:59:16 +0000 (18 08:59 +0200)
tree8c97b97a8f8bd8516878a0bc90044787b257a2e7
parent0e7456d28655fda118ad3d432e9baf8398206bbe
smbd: let check_user_ok() construct ent->session_info in one coherent block

We should finish manipulating ent->session_info before filling
conn->session_info. And conn->session_info should be not be changed.

Use git show -U15.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/uid.c