Searched refs:cookie (Results 1 - 10 of 10) sorted by relevance

/dovecot/src/auth/
H A Dauth-client-connection.h19 uint8_t cookie[MASTER_AUTH_COOKIE_SIZE]; member in struct:auth_client_connection
H A Dauth-client-connection.c341 random_fill(conn->cookie, sizeof(conn->cookie));
364 binary_to_hex_append(str, conn->cookie, sizeof(conn->cookie));
H A Dauth-master-connection.c94 uint8_t cookie[MASTER_AUTH_COOKIE_SIZE]; local
97 /* <id> <client-pid> <client-id> <cookie> [<parameters>] */
107 buffer_create_from_data(&buf, cookie, sizeof(cookie));
109 i_error("BUG: Master sent broken REQUEST cookie");
120 } else if (!mem_equals_timing_safe(client_conn->cookie, cookie, sizeof(cookie))) {
121 i_error("Master requested auth for client %u with invalid cookie",
/dovecot/src/lib-auth/
H A Dauth-server-connection.h18 char *cookie; member in struct:auth_server_connection
H A Dauth-server-connection.c104 if (conn->cookie != NULL) {
105 i_error("BUG: Authentication server already sent cookie");
108 conn->cookie = p_strdup(conn->pool, args[0]);
118 if (conn->cookie == NULL) {
119 i_error("BUG: Authentication server didn't send a cookie");
359 conn->cookie = NULL;
H A Dauth-client-request.c207 return request->conn->cookie;
/dovecot/src/login-common/
H A Dsasl-server.c31 unsigned char cookie[MASTER_AUTH_COOKIE_SIZE]; member in struct:anvil_request
150 memcpy(req.cookie, anvil_request->cookie, sizeof(req.cookie));
216 const char *query, *cookie; local
224 buffer_create_from_data(&buf, req->cookie, sizeof(req->cookie));
225 cookie = auth_client_request_get_cookie(request);
226 if (strlen(cookie) == MASTER_AUTH_COOKIE_SIZE*2)
227 (void)hex_to_binary(cookie,
[all...]
/dovecot/src/lib-master/
H A Dmaster-auth.h13 /* Authentication client process's cookie size */
41 /* Authentication process, authentication ID and auth cookie. */
45 uint8_t cookie[MASTER_AUTH_COOKIE_SIZE]; member in struct:master_auth_request
H A Dmaster-login-auth.c31 uint8_t cookie[MASTER_AUTH_COOKIE_SIZE]; member in struct:master_login_auth_request
440 binary_to_hex_append(str, req->cookie, sizeof(req->cookie));
481 memcpy(login_req->cookie, req->cookie, sizeof(login_req->cookie));
/dovecot/src/doveadm/
H A Ddoveadm-auth.c373 buffer_create_from_data(&buf, master_auth_req.cookie,
374 sizeof(master_auth_req.cookie));

Completed in 15 milliseconds