]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: ldap: simple_bind() should set ldap option on tldap 12616/head
authorWeibing Zhang <atheism.zhang@gmail.com>
Thu, 22 Dec 2016 06:38:27 +0000 (14:38 +0800)
committerWeibing Zhang <atheism.zhang@gmail.com>
Thu, 22 Dec 2016 06:38:27 +0000 (14:38 +0800)
commit96cf7fa06a1192293b24c823ad9d08456f81ac8a
treef4eb23877d47921cc8edb9ff7c33afc1b58eda24
parentaf21f0db91e3ab5e6d945ff1eb3579c1f0cac6f6
rgw: ldap: simple_bind() should set ldap option on tldap

    ldap_set_option() should set option for "tldap" other than "ldap".
    The current code will lead to "Protocol error" as the ldap version
    of tldap is not set.

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
src/rgw/rgw_ldap.h