Searched defs:srv_opts (Results 1 - 8 of 8) sorted by relevance

/sssd-io/src/providers/ldap/
H A Dldap_common.h71 struct sdap_server_opts *srv_opts; member in struct:sdap_id_ctx
H A Dsdap_online_check.c81 struct sdap_server_opts *srv_opts; local
93 ret = sdap_cli_connect_recv(subreq, state, &can_retry, NULL, &srv_opts);
102 if (id_ctx->srv_opts == NULL) {
103 srv_opts->max_user_value = 0;
104 srv_opts->max_group_value = 0;
105 srv_opts->max_service_value = 0;
106 srv_opts->max_sudo_value = 0;
107 } else if (strcmp(srv_opts->server_id, id_ctx->srv_opts->server_id) == 0
108 && srv_opts
[all...]
H A Dsdap_sudo_shared.c150 sdap_sudo_set_usn(struct sdap_server_opts *srv_opts, argument
158 if (srv_opts == NULL) {
159 DEBUG(SSSDBG_TRACE_FUNC, "Bug: srv_opts is NULL\n");
184 newusn = sdap_sudo_new_usn(srv_opts, usn_number, endptr);
189 if (sysdb_compare_usn(newusn, srv_opts->max_sudo_value) > 0) {
190 talloc_zfree(srv_opts->max_sudo_value);
191 srv_opts->max_sudo_value = newusn;
196 if (usn_number > srv_opts->last_usn) {
197 srv_opts->last_usn = usn_number;
201 srv_opts
[all...]
H A Dsdap_sudo_refresh.c167 struct sdap_server_opts *srv_opts = id_ctx->srv_opts; local
183 if (srv_opts == NULL || srv_opts->max_sudo_value == 0) {
189 usn = srv_opts->max_sudo_value;
H A Dsdap_id_op.c533 struct sdap_server_opts *srv_opts = NULL; local
542 &conn_data->sh, &srv_opts);
575 current_srv_opts = conn_cache->id_conn->id_ctx->srv_opts;
578 "Old USN: %lu, New USN: %lu\n", current_srv_opts->last_usn, srv_opts->last_usn);
580 if (strcmp(srv_opts->server_id, current_srv_opts->server_id) == 0 &&
581 srv_opts->supports_usn &&
582 current_srv_opts->last_usn > srv_opts->last_usn) {
589 current_srv_opts->last_usn = srv_opts->last_usn;
603 sdap_steal_server_opts(conn_cache->id_conn->id_ctx, &srv_opts);
H A Dsdap_async_connection.c1412 struct sdap_server_opts *srv_opts; member in struct:sdap_cli_connect_state
1485 state->srv_opts = NULL;
1717 state->opts, &state->srv_opts);
2030 struct sdap_server_opts **srv_opts)
2082 if (srv_opts) {
2083 *srv_opts = talloc_steal(memctx, state->srv_opts);
2026 sdap_cli_connect_recv(struct tevent_req *req, TALLOC_CTX *memctx, bool *can_retry, struct sdap_handle **gsh, struct sdap_server_opts **srv_opts) argument
H A Dsdap.c1275 struct sdap_server_opts **srv_opts)
1438 *srv_opts = so;
1443 struct sdap_server_opts **srv_opts)
1445 if (!id_ctx || !srv_opts || !*srv_opts) {
1449 if (!id_ctx->srv_opts) {
1450 id_ctx->srv_opts = talloc_move(id_ctx, srv_opts);
1456 if (strcmp(id_ctx->srv_opts->server_id, (*srv_opts)
1271 sdap_get_server_opts_from_rootdse(TALLOC_CTX *memctx, const char *server, struct sysdb_attrs *rootdse, struct sdap_options *opts, struct sdap_server_opts **srv_opts) argument
1442 sdap_steal_server_opts(struct sdap_id_ctx *id_ctx, struct sdap_server_opts **srv_opts) argument
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_sudo_refresh.c150 struct sdap_server_opts *srv_opts = sudo_ctx->id_ctx->srv_opts; local
167 if (srv_opts == NULL || srv_opts->max_sudo_value == 0) {
172 usn = srv_opts->max_sudo_value;

Completed in 27 milliseconds