Lines Matching refs:auth
34 pr_err("bad auth protocol %d\n", proto);
183 pr_err("auth protocol '%s' building request failed: %d\n",
196 * Handle auth message from monitor.
249 pr_err("auth protocol '%s' init failed: %d\n",
259 pr_err("auth protocol '%s' mauth authentication failed: %d\n",
279 pr_err("failed to decode auth msg\n");
309 struct ceph_auth_handshake *auth,
316 if (force_new && auth->authorizer) {
317 ceph_auth_destroy_authorizer(auth->authorizer);
318 auth->authorizer = NULL;
320 if (!auth->authorizer)
321 ret = ac->ops->create_authorizer(ac, peer_type, auth);
323 ret = ac->ops->update_authorizer(ac, peer_type, auth);
439 pr_err("auth protocol '%s' init failed: %d\n",
517 pr_err("auth protocol '%s' not allowed\n",
536 pr_err("auth protocol '%s' msgr authentication failed: %d\n",
548 struct ceph_auth_handshake *auth,
557 ret = __ceph_auth_get_authorizer(ac, auth, peer_type, true, &proto,
568 ceph_encode_32_safe(&p, end, auth->authorizer_buf_len, e_range);
578 struct ceph_auth_handshake *auth,
586 ret = ceph_auth_add_authorizer_challenge(ac, auth->authorizer,
592 ceph_encode_32_safe(&p, end, auth->authorizer_buf_len, e_range);
602 struct ceph_auth_handshake *auth,
607 return ceph_auth_verify_authorizer_reply(ac, auth->authorizer,
623 pr_err("auth protocol '%s' not allowed by %s\n",
645 pr_err("auth protocol '%s' authorization to %s failed: %d\n",