]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_ldap.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rgw / rgw_ldap.cc
index d16816411fef7feabb5ef7a3c4b7a48915ec6da7..ffb82b9e2e694725efb6d28d6015b162e0b9e7c4 100644 (file)
@@ -9,7 +9,7 @@
 #include "common/safe_io.h"
 #include <boost/algorithm/string.hpp>
 
-#include "include/assert.h"
+#include "include/ceph_assert.h"
 
 #define dout_subsys ceph_subsys_rgw
 
@@ -41,7 +41,7 @@ std::string parse_rgw_ldap_bindpw(CephContext* ctx)
 #if defined(HAVE_OPENLDAP)
 namespace rgw {
 
-  int LDAPHelper::auth(const std::string uid, const std::string pwd) {
+  int LDAPHelper::auth(const std::string &uid, const std::string &pwd) {
     int ret;
     std::string filter;
     if (msad) {