s3:libads: Clear previous CLDAP ping flags when reusing the ADS_STRUCT
authorSamuel Cabrero <scabrero@samba.org>
Tue, 24 May 2022 16:06:47 +0000 (18:06 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 27 Jun 2022 15:50:29 +0000 (15:50 +0000)
commited89ef46af2d29dafdb95a3cca38f0d350be95bd
treef35a6c948ce8210546784f184521930fffef17c2
parent5b69b62db435e684b4c3b1c3d6583ef77deadfab
s3:libads: Clear previous CLDAP ping flags when reusing the ADS_STRUCT

Fixes the problem described in commit a26f535dedc651afa2a25dd37113ac71787197ff
but for ads_domain_func_level() function.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libads/ldap.c