s4:auth: Fix debug statement in gensec_gssapi
commit4f0a4fac3de770cc303abdfe48e44f1d42ea6858
authorAndreas Schneider <asn@samba.org>
Wed, 8 May 2019 14:27:57 +0000 (8 16:27 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 16 May 2019 10:37:55 +0000 (16 10:37 +0000)
tree380b71d1eda9de52d5bcb73f27cd3d22f6ab0d3d
parent8542379bde8e48d25bab820c37eef0aafc2f6472
s4:auth: Fix debug statement in gensec_gssapi

The 'role' is set to null, we should first set it to the correct value
before printing anything.

Found by GCC 9.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13937

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit bd29f3fcc023d00afde8e9cc2f9db22dcae49877)
source4/auth/gensec/gensec_gssapi.c