]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_ldap: log the ldap err in case of bind failure 14781/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 25 Apr 2017 15:49:38 +0000 (17:49 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 25 Apr 2017 15:49:38 +0000 (17:49 +0200)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_ldap.cc

index d07b295153e68e49db650c43373c6a6df1e3b856..a39afa6c081fd3dfd31a71528858211896990664 100644 (file)
@@ -94,6 +94,7 @@ namespace rgw {
        if (ret != LDAP_SUCCESS) {
          ldout(g_ceph_context, 10)
            << __func__ << " simple_bind failed uid=" << uid
+           << "ldap err=" << ret
            << dendl;
        }
        ldap_memfree(dn);