Searched refs:orig_dn (Results 1 - 18 of 18) sorted by relevance

/sssd-io/src/providers/ipa/
H A Dipa_subdomains_utils.c34 const char *orig_dn; local
41 ret = sysdb_attrs_get_string(attrs, SYSDB_ORIG_DN, &orig_dn);
47 dn = ldb_dn_new(mem_ctx, ldb_ctx, orig_dn);
55 orig_dn);
H A Dipa_netgroups.c304 const char *orig_dn; local
360 ret = sysdb_attrs_get_string(netgroups[i], SYSDB_ORIG_DN, &orig_dn);
367 key.str = discard_const(orig_dn);
379 ret = sss_filter_sanitize(state, orig_dn, &dn);
565 const char *orig_dn; local
635 ret = sysdb_attrs_get_string(entities[i], SYSDB_ORIG_DN, &orig_dn);
640 key.str = talloc_strdup(table, orig_dn);
/sssd-io/src/tests/cmocka/
H A Dcommon_mock_sysdb_objects.c126 char *orig_dn = NULL; local
134 orig_dn = talloc_asprintf(attrs, "cn=%s,%s", name, base_dn);
135 if (orig_dn == NULL) {
139 ret = sysdb_attrs_add_string(attrs, SYSDB_ORIG_DN, orig_dn);
157 talloc_free(orig_dn);
H A Dtest_sdap.c962 const char *orig_dn; local
968 orig_dn = talloc_asprintf(obj, "CN=%s,%s", name, basedn);
969 assert_non_null(orig_dn);
971 ret = sysdb_attrs_add_string(obj, SYSDB_ORIG_DN, orig_dn);
/sssd-io/src/systemtap/
H A Dsssd_probes.d56 probe sdap_nested_group_process_send(const char *orig_dn);
59 probe sdap_nested_group_process_recv(const char *orig_dn);
/sssd-io/src/providers/ldap/
H A Dsdap_async_initgroups_ad.c39 const char *orig_dn; member in struct:sdap_ad_match_rule_initgr_state
66 const char *orig_dn,
86 state->orig_dn = orig_dn;
116 ret = sss_filter_sanitize(state, state->orig_dn, &sanitized_user_dn);
326 const char *orig_dn,
350 subreq = sdap_get_generic_send(state, state->ev, opts, sh, orig_dn,
698 const char *orig_dn; member in struct:sdap_ad_tokengroups_initgr_mapping_state
711 const char *orig_dn,
726 const char *orig_dn,
59 sdap_get_ad_match_rule_initgroups_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sysdb_ctx *sysdb, struct sss_domain_info *domain, struct sdap_handle *sh, const char *name, const char *orig_dn, int timeout) argument
321 sdap_get_ad_tokengroups_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *name, const char *orig_dn, int timeout) argument
719 sdap_ad_tokengroups_initgr_mapping_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sysdb_ctx *sysdb, struct sss_domain_info *domain, struct sdap_handle *sh, const char *name, const char *orig_dn, int timeout) argument
1044 const char *orig_dn; member in struct:sdap_ad_tokengroups_initgr_posix_state
1064 sdap_ad_tokengroups_initgr_posix_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_id_ctx *id_ctx, struct sdap_id_conn_ctx *conn, struct sdap_options *opts, struct sysdb_ctx *sysdb, struct sss_domain_info *domain, struct sdap_handle *sh, const char *name, const char *orig_dn, int timeout) argument
1848 sdap_ad_tokengroups_initgroups_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_id_ctx *id_ctx, struct sdap_id_conn_ctx *conn, struct sdap_options *opts, struct sysdb_ctx *sysdb, struct sss_domain_info *domain, struct sdap_handle *sh, const char *name, const char *orig_dn, int timeout, bool use_id_mapping) argument
1955 handle_missing_pvt(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, const char *orig_dn, int timeout, const char *username, struct sdap_handle *sh, struct tevent_req *req, tevent_req_fn callback) argument
[all...]
H A Dsdap_async_nested_groups.c721 const char *orig_dn; local
727 ret = sysdb_attrs_get_string(group, SYSDB_ORIG_DN, &orig_dn);
738 orig_dn);
1007 const char *orig_dn = NULL; local
1024 ret = sysdb_attrs_get_string(group, SYSDB_ORIG_DN, &orig_dn);
1031 state->group_dn = talloc_strdup(state, orig_dn);
1037 DEBUG(SSSDBG_TRACE_INTERNAL, "About to process group [%s]\n", orig_dn);
1102 orig_dn);
1108 orig_dn);
1111 state->members, orig_dn,
1464 const char *orig_dn = NULL; local
2288 const char *orig_dn = NULL; local
2765 const char *orig_dn; local
[all...]
H A Dsdap_async_initgroups.c393 const char *orig_dn; member in struct:sdap_initgr_rfc2307_state
784 const char *orig_dn; member in struct:sdap_initgr_nested_state
859 &state->orig_dn);
961 state->sh, state->orig_dn,
1247 const char *orig_dn; local
1269 ret = sysdb_attrs_get_string(state->user, SYSDB_ORIG_DN, &orig_dn);
1292 if (strcasecmp((const char *) el->values[mi].data, orig_dn) != 0) {
1486 const char *orig_dn; local
1502 ret = sysdb_attrs_get_string(attrs, SYSDB_ORIG_DN, &orig_dn);
1508 "Looking up direct parents for group [%s]\n", orig_dn);
1564 const char *orig_dn; member in struct:sdap_initgr_rfc2307bis_state
1590 sdap_initgr_rfc2307bis_send( TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_domain *sdom, struct sdap_handle *sh, const char *name, const char *orig_dn) argument
2228 const char *orig_dn; member in struct:sdap_rfc2307bis_nested_ctx
2959 const char *orig_dn; local
[all...]
H A Dldap_auth.c366 char *orig_dn; member in struct:get_user_dn_state
483 state->orig_dn = talloc_strdup(state, (const char *) el->values[0].data);
484 if (state->orig_dn == NULL) {
490 state->orig_dn, state->username);
495 char **orig_dn)
500 if (orig_dn) {
501 *orig_dn = talloc_move(mem_ctx, &state->orig_dn);
494 get_user_dn_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, char **orig_dn) argument
H A Dsdap_async.h391 const char *orig_dn,
408 const char *orig_dn,
H A Dsdap_async_users.c188 const char *orig_dn = NULL; local
490 orig_dn = (const char *) el->values[0].data;
492 "of [%s].\n", orig_dn, user_name);
494 ret = sysdb_attrs_add_string(user_attrs, SYSDB_ORIG_DN, orig_dn);
622 gecos, homedir, shell, orig_dn,
H A Dsdap_async_autofs.c214 const char *orig_dn; member in struct:automntmaps_process_members_state
278 ret = sysdb_attrs_get_string(state->map, SYSDB_ORIG_DN, &state->orig_dn);
285 "Examining autofs map [%s]\n", state->orig_dn);
325 state->orig_dn,
H A Dsdap.c661 const char *orig_dn; local
697 orig_dn = dref->derefVal.bv_val;
699 "Dereferenced DN: %s\n", orig_dn);
704 orig_dn);
769 orig_dn);
H A Dsdap_async_groups.c37 const char *orig_dn,
56 ret = sss_filter_sanitize(tmpctx, orig_dn, &sanitized_dn);
34 sdap_find_entry_by_origDN(TALLOC_CTX *memctx, struct sysdb_ctx *ctx, struct sss_domain_info *domain, const char *orig_dn, char **_localdn, bool *_is_group) argument
/sssd-io/src/db/
H A Dsysdb_ops.c1767 const char *orig_dn,
1789 if (orig_dn == NULL) {
1799 orig_dn) == 0) {
1855 const char *orig_dn,
1941 orig_dn, userdn);
1959 const char *orig_dn,
2122 ret = sysdb_remove_ghostattr_from_groups(domain, orig_dn, attrs,
2649 const char *orig_dn,
2662 const char *orig_dn,
2678 const char *orig_dn,
1763 sysdb_remove_ghost_from_group(struct sss_domain_info *dom, struct ldb_message *group, struct ldb_message_element *alias_el, const char *name, const char *orig_dn, const char *userdn) argument
1854 sysdb_remove_ghostattr_from_groups(struct sss_domain_info *domain, const char *orig_dn, struct sysdb_attrs *attrs, const char *name) argument
1953 sysdb_add_user(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, int cache_timeout, time_t now) argument
2671 sysdb_store_user(struct sss_domain_info *domain, const char *name, const char *pwd, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument
2767 sysdb_store_new_user(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument
2813 sysdb_store_user_attrs(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument
[all...]
H A Dsysdb_upgrade.c471 struct ldb_dn *orig_dn; local
485 orig_dn = msg->dn;
487 ldb_dn_get_linearized(orig_dn));
501 ret = ldb_delete(ldb, orig_dn);
506 ldb_dn_get_linearized(orig_dn),
H A Dsysdb.h1013 const char *orig_dn,
1063 const char *orig_dn,
/sssd-io/src/tests/
H A Dsysdb-tests.c196 const char *orig_dn; member in struct:test_data
318 data->orig_dn, data->attrs, 0, 0);
383 data->gid, data->orig_dn,
5454 data->orig_dn = talloc_asprintf(data, "cn=%s,cn=example,cn=com", data->groupname);
5455 fail_if(data->orig_dn == NULL);
5466 c = discard_const(data->orig_dn);
5478 SYSDB_ORIG_DN, data->orig_dn);
5510 data->orig_dn = talloc_asprintf(data, "cn=%s,cn=example,cn=com", data->groupname);
5511 fail_if(data->orig_dn == NULL);
5517 ret = sysdb_search_groups_by_orig_dn(test_ctx, data->ctx->domain, data->orig_dn,
[all...]

Completed in 3710 milliseconds