]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add reinit/rebind logic (ldap)
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 1 Aug 2016 21:36:17 +0000 (17:36 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 5 Oct 2016 16:42:34 +0000 (12:42 -0400)
commit871caeb5011b06d54bd41370ee20ba38e84c9ac0
treec991fc5fc4203c625f913aeec74d4f2f1c8f8553
parent84adafe3fe6f57d49b4bdf1e036e1b686e6b0f55
rgw: add reinit/rebind logic (ldap)

Gracefully handle stale LDAP connections by rebinding--verified
with MS AD.  Rebind is attempted once per request until rebound--
not worse than misconfiguring the environment.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 9b8fccf68789ba5c5986766c544b23aeada0e87e)
src/rgw/rgw_ldap.cc
src/rgw/rgw_ldap.h