]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: LDAP fix resource leak with wrong credentials 50560/head
authorJohannes <68052021+jliebl-git@users.noreply.github.com>
Mon, 17 Oct 2022 12:46:43 +0000 (14:46 +0200)
committerLaura Flores <lflores@redhat.com>
Thu, 16 Mar 2023 15:34:56 +0000 (15:34 +0000)
commit21803ef6333039ac291cd3d4bf12d3bbfc0459be
tree91cd66ca11b573f6b4e806c923dca66d2cdddd03
parent6564fc1eeb25a353e73574bc770fa6cb6fd3ff95
rgw: LDAP fix resource leak with wrong credentials

/src/rgw/ldap.h: moved ldap_unbind to outside of successful states to always clean up connections

Fixes: https://tracker.ceph.com/issues/57881
Signed-off-by: Johannes Liebl <68052021+jliebl-git@users.noreply.github.com>
Signed-off-by: Johannes <68052021+jliebl-git@users.noreply.github.com>
(cherry picked from commit fa8945e7a281e3cc3c42ce5313f2de3838dcfd41)
src/rgw/rgw_ldap.h