Project

General

Profile

Bug #39948

auth krb compile error

Added by huang jun almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
common
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The compile error:

/usr/src/ceph/src/auth/krb/KrbAuthorizeHandler.cpp:22:6: error: prototype for bool KrbAuthorizeHandler::verify_authorizer(CephContext*, KeyStore*, const bufferlist&, size_t, ceph::bufferlist*, EntityName*, uint64_t*, AuthCapsInfo*, CryptoKey*, std::string*, std::unique_ptr<AuthAuthorizerChallenge>*) does not match any in class KrbAuthorizeHandler
 bool KrbAuthorizeHandler::verify_authorizer(
      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/ceph/src/auth/krb/KrbAuthorizeHandler.cpp:16:0:
/usr/src/ceph/src/auth/krb/KrbAuthorizeHandler.hpp:22:8: error: candidate is: virtual bool KrbAuthorizeHandler::verify_authorizer(CephContext*, const KeyStore&, const bufferlist&, size_t, ceph::bufferlist*, EntityName*, uint64_t*, AuthCapsInfo*, CryptoKey*, std::string*, std::unique_ptr<AuthAuthorizerChallenge>*)
   bool verify_authorizer(
        ^~~~~~~~~~~~~~~~~
make[3]: *** [src/auth/CMakeFiles/common-auth-objs.dir/krb/KrbAuthorizeHandler.cpp.o] Error 1
make[2]: *** [src/auth/CMakeFiles/common-auth-objs.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/ceph-mon.dir/rule] Error 2
make: *** [ceph-mon] Error 2

History

#1 Updated by Kefu Chai almost 5 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 28113

#2 Updated by Kefu Chai almost 5 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF