Lines Matching refs:reply

145 	ndmp_connect_open_reply reply;
148 reply.error = NDMP_NO_ERR;
155 reply.error = NDMP_ILLEGAL_STATE_ERR;
157 reply.error = NDMP_ILLEGAL_ARGS_ERR;
159 ndmp_send_reply(connection, (void *) &reply,
160 "sending connect_open reply");
164 * Must wait until after sending the reply since the reply
168 if (reply.error == NDMP_NO_ERR) {
193 ndmp_connect_client_auth_reply reply;
208 reply.error = NDMP_NO_ERR;
219 reply.error = NDMP_ILLEGAL_ARGS_ERR;
229 reply.error = NDMP_NOT_AUTHORIZED_ERR;
231 ndmp_send_reply(connection, (void *) &reply,
232 "sending ndmp_connect_client_auth reply");
241 reply.error = NDMP_NOT_AUTHORIZED_ERR;
251 reply.error = NDMP_NOT_AUTHORIZED_ERR;
253 ndmp_send_reply(connection, (void *) &reply,
254 "sending ndmp_connect_client_auth reply");
265 reply.error = NDMP_NOT_AUTHORIZED_ERR;
269 ndmpd_audit_connect(connection, reply.error ?
281 reply.error = NDMP_NOT_AUTHORIZED_ERR;
283 ndmp_send_reply(connection, (void *) &reply,
284 "sending ndmp_connect_client_auth reply");
294 reply.error = NDMP_NOT_AUTHORIZED_ERR;
296 ndmp_send_reply(connection, (void *) &reply,
297 "sending ndmp_connect_client_auth reply");
311 reply.error = NDMP_NOT_AUTHORIZED_ERR;
316 reply.error = NDMP_NOT_AUTHORIZED_ERR;
320 ndmpd_audit_connect(connection, reply.error ?
327 reply.error = NDMP_ILLEGAL_ARGS_ERR;
330 if (reply.error == NDMP_NO_ERR)
335 ndmp_send_reply(connection, (void *) &reply,
336 "sending ndmp_connect_client_auth reply");
356 ndmp_connect_server_auth_reply reply;
366 reply.error = NDMP_NO_ERR;
367 reply.auth_result.auth_type = request->client_attr.auth_type;
373 reply.auth_result.ndmp_auth_data_u.auth_text.user = "ndmpd";
374 reply.auth_result.ndmp_auth_data_u.auth_text.password =
379 reply.error = NDMP_ILLEGAL_ARGS_ERR;
383 reply.error = NDMP_ILLEGAL_ARGS_ERR;
386 ndmp_send_reply(connection, (void *) &reply,
387 "sending ndmp_connect_auth reply");
437 ndmp_connect_client_auth_reply_v3 reply;
451 reply.error = NDMP_NO_ERR;
456 reply.error = NDMP_NOT_SUPPORTED_ERR;
466 reply.error = NDMP_NOT_AUTHORIZED_ERR;
468 ndmp_send_reply(connection, (void *) &reply,
469 "sending ndmp_connect_client_auth reply");
476 reply.error = ndmpd_connect_auth_text(uname, auth->auth_id,
478 ndmpd_audit_connect(connection, reply.error ?
488 reply.error = NDMP_NOT_AUTHORIZED_ERR;
490 ndmp_send_reply(connection, (void *) &reply,
491 "sending ndmp_connect_client_auth reply");
499 reply.error = ndmpd_connect_auth_md5(uname, md5->auth_id,
501 ndmpd_audit_connect(connection, reply.error ?
507 reply.error = NDMP_ILLEGAL_ARGS_ERR;
511 if (reply.error == NDMP_NO_ERR) {
523 ndmp_send_reply(connection, (void *) &reply,
524 "sending ndmp_connect_auth reply");
597 * server challenge from the NDMP_CONFIG_GET_AUTH_ATTR reply.