s3:libads: let ads_sasl_spnego_bind() reset krb5_state at the end
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Apr 2022 11:39:11 +0000 (13:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 14 May 2024 10:18:31 +0000 (10:18 +0000)
commit4d42574c54210022bec7e765739f5495b285145a
tree466236a18584b77b1ba001a3c47bf1773bb24946
parentf7ab92ea7e01a89d7d9ede115c576fb221374d6a
s3:libads: let ads_sasl_spnego_bind() reset krb5_state at the end

In future we'll pass in creds from the caller, so we better
restore the original krb5_state at the end of ads_sasl_spnego_bind().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libads/sasl.c