Searched defs:auth (Results 1 - 23 of 23) sorted by relevance

/dovecot/src/auth/
H A Dauth-master-connection.h9 struct auth *auth; member in struct:auth_master_connection
29 auth_master_connection_create(struct auth *auth, int fd,
H A Dauth-client-connection.h4 #include "master-auth.h"
8 struct auth *auth; member in struct:auth_client_connection
27 void auth_client_connection_create(struct auth *auth, int fd,
H A Dmech-oauth2.c3 #include "auth-common.h"
12 struct auth_request auth; member in struct:oauth2_auth_request
118 } else if (strncmp(*ptr,"auth=", 5) == 0) {
215 if (strncmp(*ptr,"auth=", 5) == 0) {
245 request->auth.pool = pool;
246 return &request->auth;
H A Dauth-postfix-connection.c3 #include "auth-common.h"
14 #include "auth-postfix-connection.h"
23 struct auth *auth; member in struct:auth_postfix_connection
93 if (conn->auth->set->debug)
128 if (conn->auth->set->debug)
171 auth_postfix_connection_create(struct auth *auth, int fd) argument
178 conn->auth = auth;
[all...]
H A Dauth.h4 #include "auth-settings.h"
65 struct auth { struct
78 struct auth *auth_find_service(const char *name);
79 struct auth *auth_default_service(void);
H A Dauth-client-connection.c3 #include "auth-common.h"
17 #include "auth-fields.h"
18 #include "auth-request-handler.h"
19 #include "auth-client-interface.h"
20 #include "auth-client-connection.h"
21 #include "auth-master-connection.h"
82 if (conn->auth->set->debug) {
84 conn->auth->set->debug_passwords ?
148 if (conn->auth->set->debug)
149 i_debug("auth clien
327 auth_client_connection_create(struct auth *auth, int fd, bool login_requests, bool token_auth) argument
[all...]
H A Dauth.c3 #include "auth-common.h"
12 #include "auth.h"
27 static ARRAY(struct auth *) auths;
69 auth_passdb_preinit(struct auth *auth, const struct auth_passdb_settings *set, argument
74 auth_passdb = p_new(auth->pool, struct auth_passdb, 1);
85 passdb_template_build(auth->pool, set->default_fields);
87 passdb_template_build(auth->pool, set->override_fields);
96 auth_passdb->passdb = passdb_preinit(auth->pool, set);
100 p_strconcat(auth
109 auth_userdb_preinit(struct auth *auth, const struct auth_userdb_settings *set) argument
145 auth_passdb_list_have_verify_plain(const struct auth *auth) argument
156 auth_passdb_list_have_lookup_credentials(const struct auth *auth) argument
167 auth_passdb_list_have_set_credentials(const struct auth *auth) argument
183 auth_mech_verify_passdb(const struct auth *auth, const struct mech_module_list *list) argument
207 auth_mech_list_verify_passdb(const struct auth *auth) argument
233 struct auth *auth; local
307 auth_init(struct auth *auth) argument
320 auth_deinit(struct auth *auth) argument
369 struct auth *auth, *const *authp; local
405 struct auth *const *auth; local
422 struct auth *const *auth; local
430 struct auth **auth; local
[all...]
H A Dmain.c3 #include "auth-common.h"
23 #include "auth.h"
24 #include "auth-penalty.h"
25 #include "auth-token.h"
26 #include "auth-request-handler.h"
27 #include "auth-request-stats.h"
28 #include "auth-worker-server.h"
29 #include "auth-worker-client.h"
30 #include "auth-master-connection.h"
31 #include "auth
323 struct auth *auth; local
[all...]
H A Dauth-master-connection.c3 #include "auth-common.h"
22 #include "auth-request-handler.h"
23 #include "auth-client-connection.h"
24 #include "auth-master-connection.h"
54 if (conn->auth->set->debug_passwords)
75 if (conn->auth->set->debug) {
116 i_error("Master requested auth for nonexistent client %u",
121 i_error("Master requested auth for client %u with invalid cookie",
127 i_error("Master requested auth for non-login client %u",
241 "(to bypass this check, set: service auth { unix_listene
737 auth_master_connection_create(struct auth *auth, int fd, const char *path, const struct stat *socket_st, bool userdb_only) argument
[all...]
H A Dauth-worker-client.c3 #include "auth-common.h"
14 #include "auth-request.h"
15 #include "auth-worker-client.h"
29 struct auth *auth; member in struct:auth_worker_client
635 userdb = auth_userdb_find_by_id(client->auth->userdbs, userdb_id);
743 if (!version_string_verify(line, "auth-worker",
759 "than auth server. Maybe config just changed "
802 auth_worker_client_create(struct auth *auth, in argument
[all...]
H A Dauth-request.c3 #include "auth-common.h"
16 #include "auth-cache.h"
17 #include "auth-request.h"
18 #include "auth-request-handler.h"
19 #include "auth-request-stats.h"
20 #include "auth-client-connection.h"
21 #include "auth-master-connection.h"
22 #include "auth-policy.h"
140 struct auth *auth; local
[all...]
/dovecot/src/lib-master/
H A Dmaster-auth.c9 #include "master-auth.h"
18 struct master_auth *auth; member in struct:master_auth_connection
46 struct master_auth *auth; local
49 pool = pool_alloconly_create("master auth", 1024);
50 auth = p_new(pool, struct master_auth, 1);
51 auth->pool = pool;
52 auth->service = service;
53 auth->default_path = p_strdup(pool, path);
54 hash_table_create_direct(&auth->connections, pool, 0);
55 return auth;
85 struct master_auth *auth = *_auth; local
151 master_auth_request_full(struct master_auth *auth, const struct master_auth_request_params *params, master_auth_callback_t *callback, void *context, unsigned int *tag_r) argument
219 master_auth_request(struct master_auth *auth, int fd, const struct master_auth_request *request, const unsigned char *data, master_auth_callback_t *callback, void *context, unsigned int *tag_r) argument
235 master_auth_request_abort(struct master_auth *auth, unsigned int tag) argument
[all...]
H A Dmaster-login.c12 #include "master-login-auth.h"
50 struct master_login_auth *auth; member in struct:master_login
73 login->auth = master_login_auth_init(set->auth_socket_path,
92 master_login_auth_deinit(&login->auth);
135 i_error("Too large auth data_size sent");
214 i_assert(master_login_auth_request_count(login->auth) == 0);
215 master_login_auth_disconnect(login->auth);
373 i_error("login client: Username missing from auth reply");
396 /* execute post-login scripts before finishing auth */
441 master_login_auth_request(login->auth,
[all...]
H A Dmaster-login-auth.c16 #include "master-auth.h"
17 #include "master-login-auth.h"
62 static void master_login_auth_set_timeout(struct master_login_auth *auth);
63 static void master_login_auth_check_spids(struct master_login_auth *auth);
68 struct master_login_auth *auth; local
71 pool = pool_alloconly_create("master login auth", 1024);
72 auth = p_new(pool, struct master_login_auth, 1);
73 auth->pool = pool;
74 auth->auth_socket_path = p_strdup(pool, auth_socket_path);
75 auth
93 master_login_auth_disconnect(struct master_login_auth *auth) argument
122 struct master_login_auth *auth = *_auth; local
136 struct master_login_auth *auth = *_auth; local
144 auth_get_next_timeout_secs(struct master_login_auth *auth) argument
153 master_login_auth_timeout(struct master_login_auth *auth) argument
175 master_login_auth_set_timeout(struct master_login_auth *auth) argument
186 master_login_auth_request_remove(struct master_login_auth *auth, struct master_login_auth_request *request) argument
203 master_login_auth_lookup_request(struct master_login_auth *auth, unsigned int id) argument
224 master_login_auth_input_user(struct master_login_auth *auth, const char *args) argument
248 master_login_auth_input_notfound(struct master_login_auth *auth, const char *args) argument
271 master_login_auth_input_fail(struct master_login_auth *auth, const char *args_line) argument
304 master_login_auth_input(struct master_login_auth *auth) argument
378 master_login_auth_connect(struct master_login_auth *auth) argument
399 auth_request_check_spid(struct master_login_auth *auth, struct master_login_auth_request *req) argument
412 master_login_auth_check_spids(struct master_login_auth *auth) argument
424 master_login_auth_send_request(struct master_login_auth *auth, struct master_login_auth_request *req) argument
448 master_login_auth_request(struct master_login_auth *auth, const struct master_auth_request *req, master_login_auth_request_callback_t *callback, void *context) argument
494 master_login_auth_request_count(struct master_login_auth *auth) argument
[all...]
/dovecot/src/lib-smtp/
H A Dsmtp-params.h41 const struct smtp_address *auth; member in struct:smtp_params_mail
/dovecot/src/director/
H A Dlogin-connection.c15 #include "auth-client-interface.h"
16 #include "auth-connection.h"
34 struct auth_connection *auth; member in struct:login_connection
73 output = auth_connection_get_output(conn->auth);
194 /* auth connection died -> kill also this login connection */
226 i_error("auth sent invalid lip field: %s", (*args) + 6);
229 i_error("auth sent invalid lport field: %s", (*args) + 6);
232 i_error("auth sent invalid port field: %s", (*args) + 6);
270 struct auth_connection *auth,
282 i_assert(auth !
269 login_connection_init(struct director *dir, int fd, struct auth_connection *auth, enum login_connection_type type) argument
[all...]
H A Dmain.c12 #include "auth-connection.h"
26 #define AUTH_SOCKET_PATH "auth-login"
27 #define AUTH_USERDB_SOCKET_PATH "auth-userdb"
100 if (strcmp(suffix, "auth") == 0)
178 struct auth_connection *auth; local
198 auth socket they connect to. */
202 auth = auth_connection_init(socket_path);
203 if (auth_connection_connect(auth) < 0) {
204 auth_connection_deinit(&auth);
208 (void)login_connection_init(director, conn->fd, auth,
[all...]
/dovecot/src/lib-http/
H A Dhttp-auth.c9 #include "http-auth.h"
13 challenge = auth-scheme [ 1*SP ( token68 / #auth-param ) ]
14 credentials = auth-scheme [ 1*SP ( token68 / #auth-param ) ]
16 auth-scheme = token
17 auth-param = token BWS "=" BWS ( token / quoted-string )
62 /* auth-param = token BWS "=" BWS ( token / quoted-string ) */
137 challenge = auth-scheme [ 1*SP ( token68 / #auth
463 const char *auth; local
[all...]
H A Dhttp-url.c34 struct uri_authority auth; local
38 if ((ret = uri_parse_host_authority(parser, &auth)) < 0)
40 if (auth.host.name == NULL || *auth.host.name == '\0') {
51 if (auth.enc_userinfo != NULL) {
69 p = strchr(auth.enc_userinfo, ':');
71 if (!uri_data_decode(parser, auth.enc_userinfo, NULL, &user))
74 if (!uri_data_decode(parser, auth.enc_userinfo, p, &user))
82 uri_host_copy(parser->pool, &url->host, &auth.host);
83 url->port = auth
360 struct uri_authority auth; local
[all...]
H A Dhttp-server-request.c235 const char *auth; local
237 auth = http_request_header_get(&req->req, "Authorization");
238 if (auth == NULL)
242 ((const unsigned char *)auth, strlen(auth), credentials) < 0)
/dovecot/src/lib-imap/
H A Dimap-url.c36 iauth = ";AUTH=" ( "*" / enc-auth-type )
37 enc-auth-type = 1*achar
38 ; %-encoded version of [IMAP4] "auth-type"
172 struct uri_authority auth; local
188 * iauth = ";AUTH=" ( "*" / enc-auth-type )
189 * enc-auth-type = 1*achar
190 * ; %-encoded version of [IMAP4] "auth-type"
195 (parser, &auth)) <= 0)
197 if (auth.host.name == NULL || *auth
[all...]
/dovecot/src/doveadm/
H A Dclient-connection-http.c88 bool auth; member in struct:doveadm_http_server_mount
109 .auth = FALSE
114 .auth = TRUE
119 .auth = TRUE
124 .auth = TRUE
1043 bool auth = FALSE; local
1056 auth = doveadm_http_server_auth_verify(req, &creds);
1057 if (!auth) {
1074 return auth;
1125 if (ep->auth
[all...]
/dovecot/src/lib/
H A Duri-util.c704 struct uri_authority *auth) ATTR_NULL(2)
725 if (auth != NULL)
726 auth->port = port;
732 struct uri_authority *auth, bool host_name) ATTR_NULL(2)
741 if (auth != NULL)
742 i_zero(auth); variable
757 if (auth != NULL)
758 auth->enc_userinfo = p_strdup_until(parser->pool, parser->cur, p);
764 (auth == NULL ? NULL : &auth
811 uri_parse_authority(struct uri_parser *parser, struct uri_authority *auth) argument
817 uri_parse_slashslash_authority(struct uri_parser *parser, struct uri_authority *auth) argument
823 uri_parse_host_authority(struct uri_parser *parser, struct uri_authority *auth) argument
829 uri_parse_slashslash_host_authority(struct uri_parser *parser, struct uri_authority *auth) argument
[all...]

Completed in 503 milliseconds