s3:smbd: only set user_info->auth_description on success
authorStefan Metzmacher <metze@samba.org>
Sun, 18 Jun 2017 10:06:10 +0000 (12:06 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 26 Jun 2017 06:47:14 +0000 (08:47 +0200)
commit5810f7468bc0c2592056d100f3174e6e2342b3b5
treed84b8f4b0674eff99f321a3251116a377d7772ad
parent823bc4c07add242a5a1d0cd25942ebaab3cd0e23
s3:smbd: only set user_info->auth_description on success

Otherwise we'll derefence a NULL pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/sesssetup.c