s4-libsmb: Do not set empty password for gensec
authorAndreas Schneider <asn@samba.org>
Mon, 19 Sep 2016 12:38:54 +0000 (14:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 12:39:20 +0000 (13:39 +0100)
commit90bff13af95b85f3ba317681eae494d3b8e53a42
tree16432687bcb00d997199d296c514388f0dba92ee
parent57258733a2683ecb2c6a046b61e2c6e91d7ed603
s4-libsmb: Do not set empty password for gensec

GENSEC expects NULL as no password. There are too many places which
set "" instead of NULL. We plan to pass down the cli_credentials
structure anyway so this workaround should be ok for now.

Signed-off-by: Andreas Schneider <asn@samba.org>
source3/libsmb/auth_generic.c