summaryrefslogtreecommitdiffstats
path: root/src/auth/krb/KrbServiceHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth/krb/KrbServiceHandler.cpp')
-rw-r--r--src/auth/krb/KrbServiceHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth/krb/KrbServiceHandler.cpp b/src/auth/krb/KrbServiceHandler.cpp
index d7c0feeb34a..3bd679d0ab5 100644
--- a/src/auth/krb/KrbServiceHandler.cpp
+++ b/src/auth/krb/KrbServiceHandler.cpp
@@ -124,7 +124,7 @@ int KrbServiceHandler::handle_request(
<< gss_minor_status << " "
<< status_str
<< dendl;
- result = (-EPERM);
+ result = (-EACCES);
break;
}
}
@@ -206,7 +206,7 @@ int KrbServiceHandler::start_session(
<< gss_minor_status << " "
<< status_str
<< dendl;
- return (-EPERM);
+ return (-EACCES);
} else {
KrbResponse krb_response;
krb_response.m_response_type =