X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=ceph%2Fsrc%2Fauth%2Fnone%2FAuthNoneProtocol.h;h=662fdb51648f643ae7c06e2ce3bde22cb01950cd;hb=28e407b858acd3bddc89f68583571f771bb42e46;hp=8683c567416e7af4db397af4c765ea83cf3e7fe5;hpb=dfcb7b53b2e4fcd2a5af0240d4975adc711ab96e;p=ceph.git diff --git a/ceph/src/auth/none/AuthNoneProtocol.h b/ceph/src/auth/none/AuthNoneProtocol.h index 8683c5674..662fdb516 100644 --- a/ceph/src/auth/none/AuthNoneProtocol.h +++ b/ceph/src/auth/none/AuthNoneProtocol.h @@ -17,6 +17,8 @@ #include "auth/Auth.h" +class CephContext; + struct AuthNoneAuthorizer : public AuthAuthorizer { AuthNoneAuthorizer() : AuthAuthorizer(CEPH_AUTH_NONE) { } bool build_authorizer(const EntityName &ename, uint64_t global_id) { @@ -27,6 +29,7 @@ struct AuthNoneAuthorizer : public AuthAuthorizer { return 0; } bool verify_reply(bufferlist::iterator& reply) override { return true; } + bool add_challenge(CephContext *cct, bufferlist& ch) override { return true; } }; #endif