]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: don't print error when ldap isn't configured
authorCasey Bodley <cbodley@redhat.com>
Wed, 24 Apr 2024 13:46:28 +0000 (09:46 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 24 Apr 2024 13:46:31 +0000 (09:46 -0400)
> LDAP not started since no server URIs were provided in the configuration.

lack of ldap configuration is not an error, it's the default

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_appmain.cc

index 6b832fb432852b073bacf156ddb6c065f8557147..8266985ece44ed0650ac5572d7b37b834d667323 100644 (file)
@@ -384,7 +384,6 @@ void rgw::AppMain::init_ldap()
   std::string ldap_bindpw = parse_rgw_ldap_bindpw(cct);
 
   if (ldap_uri.empty()) {
-    derr << "LDAP not started since no server URIs were provided in the configuration." << dendl;
     return;
   }