Home
last modified time | relevance | path

Searched refs:CUPSD_AUTH_NONE (Results 1 – 7 of 7) sorted by relevance

/external/libcups/scheduler/
Dclient.c712 cupsdSendError(con, HTTP_STATUS_METHOD_NOT_ALLOWED, CUPSD_AUTH_NONE); in cupsdReadClient()
734 cupsdSendError(con, HTTP_STATUS_METHOD_NOT_ALLOWED, CUPSD_AUTH_NONE); in cupsdReadClient()
789 cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE); in cupsdReadClient()
883 if (!cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE)) in cupsdReadClient()
901 if (!cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE)) in cupsdReadClient()
913 if (con->best && con->best->type != CUPSD_AUTH_NONE) in cupsdReadClient()
917 if (!cupsdSendHeader(con, HTTP_STATUS_UNAUTHORIZED, NULL, CUPSD_AUTH_NONE)) in cupsdReadClient()
933 if (!cupsdSendHeader(con, HTTP_STATUS_SWITCHING_PROTOCOLS, NULL, CUPSD_AUTH_NONE)) in cupsdReadClient()
945 if (!cupsdSendError(con, HTTP_STATUS_NOT_IMPLEMENTED, CUPSD_AUTH_NONE)) in cupsdReadClient()
956 if (!cupsdSendHeader(con, HTTP_STATUS_OK, NULL, CUPSD_AUTH_NONE)) in cupsdReadClient()
[all …]
Dauth.h22 #define CUPSD_AUTH_NONE 0 /* No authentication */ macro
Dauth.c267 con->type = CUPSD_AUTH_NONE; in cupsdAuthorize()
271 if (con->best && con->best->type != CUPSD_AUTH_NONE) in cupsdAuthorize()
1642 (type == CUPSD_AUTH_NONE && in cupsdIsAuthorized()
1656 (type == CUPSD_AUTH_NONE && cupsArrayCount(best->names) == 0)) in cupsdIsAuthorized()
1659 if (!con->username[0] && type == CUPSD_AUTH_NONE && in cupsdIsAuthorized()
1700 if (con->type != type && type != CUPSD_AUTH_NONE && in cupsdIsAuthorized()
Ddirsvc.c1623 auth->type == CUPSD_AUTH_NONE) in get_auth_info_required()
1635 case CUPSD_AUTH_NONE : in get_auth_info_required()
Dconf.c2233 loc->type = CUPSD_AUTH_NONE; in parse_aaa()
2273 loc->type = CUPSD_AUTH_NONE; in parse_aaa()
3195 default_auth_type = CUPSD_AUTH_NONE; in read_cupsd_conf()
Dprinters.c2284 auth->type == CUPSD_AUTH_NONE) in cupsdSetPrinterAttrs()
2302 if (auth_type != CUPSD_AUTH_NONE) in cupsdSetPrinterAttrs()
Dipp.c660 if (cupsdSendHeader(con, HTTP_OK, "application/ipp", CUPSD_AUTH_NONE)) in cupsdProcessIPPRequest()
9995 auth_type = CUPSD_AUTH_NONE; in send_http_error()
10027 auth->type == CUPSD_AUTH_NONE) in send_http_error()
10045 cupsdSendError(con, status, CUPSD_AUTH_NONE); in send_http_error()