]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/auth/krb/KrbClientHandler.cpp
import 15.2.0 Octopus source
[ceph.git] / ceph / src / auth / krb / KrbClientHandler.cpp
index e39d074e64d1c93fb1922ebed4682f16134cd4ee..1f728b4dd6e0040470a5a3445bcbc4c3fd2f22a3 100644 (file)
@@ -161,7 +161,7 @@ int KrbClientHandler::handle_response(
           << gss_minor_status << " " 
           << status_str 
           << dendl;
-      return (-EPERM);
+      return (-EACCES);
     }
 
     gss_buffer_desc krb_input_name_buff = {0, nullptr};
@@ -244,7 +244,7 @@ int KrbClientHandler::handle_response(
           << gss_minor_status << " " 
           << status_str 
           << dendl;
-      result = (-EPERM);
+      result = (-EACCES);
       break;
   }