Home
last modified time | relevance | path

Searched refs:ad_unixuser_attr (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c54 char *ad_unixuser_attr; member
317 if (p->ad_unixuser_attr != NULL) in idmap_fini_namemaps()
318 free(p->ad_unixuser_attr); in idmap_fini_namemaps()
376 &p->ad_unixuser_attr); in idmap_init_namemaps()
425 if ((p->ad_unixuser_attr != NULL || p->ad_unixgroup_attr != NULL) && in idmap_init_namemaps()
665 attribs[i++] = p->ad_unixuser_attr; in winname2dn()
739 rc = extract_attribute(p, entry, p->ad_unixuser_attr, in winname2dn()
880 rc = idmap_ad_set(p, dn, is_user ? p->ad_unixuser_attr : in idmap_set_namemap()
970 rc = idmap_ad_set(p, dn, is_user ? p->ad_unixuser_attr : in idmap_unset_namemap()
/titanic_50/usr/src/cmd/idmap/idmapd/
H A Dadutils.c108 const char *ad_unixuser_attr; member
235 state->ad_unixuser_attr = unixuser_attr; in idmap_lookup_batch_set_unixattr()
465 attr = state->ad_unixuser_attr; in idmap_extract_object()
636 state->ad_unixuser_attr != NULL) in idmap_batch_add1()
637 attrs[i++] = (char *)state->ad_unixuser_attr; in idmap_batch_add1()
821 state->ad_unixuser_attr : state->ad_unixgroup_attr; in idmap_unixname2sid_batch_add1()
H A Didmap_config.h111 char *ad_unixuser_attr; member
H A Didmap_config.c1756 &pgcfg->ad_unixuser_attr); in idmap_cfg_load_smf()
1759 if (pgcfg->ad_unixuser_attr != NULL && in idmap_cfg_load_smf()
1760 !valid_ldap_attr(pgcfg->ad_unixuser_attr)) { in idmap_cfg_load_smf()
1762 "valid LDAP attribute name", pgcfg->ad_unixuser_attr); in idmap_cfg_load_smf()
1787 if (pgcfg->ad_unixuser_attr == NULL && in idmap_cfg_load_smf()
2230 changed += update_string(&live_pgcfg->ad_unixuser_attr, in idmap_cfg_load()
2231 &new_pgcfg.ad_unixuser_attr, "ad_unixuser_attr"); in idmap_cfg_load()
2469 if (pgcfg->ad_unixuser_attr) { in idmap_cfg_unload()
2470 free(pgcfg->ad_unixuser_attr); in idmap_cfg_unload()
2471 pgcfg->ad_unixuser_attr = NULL; in idmap_cfg_unload()
H A Didmapd.h145 char *ad_unixuser_attr; member
H A Ddbutils.c1113 (_idmapdstate.cfg->pgcfg.ad_unixuser_attr != NULL) in load_cfg_in_state()
1120 (_idmapdstate.cfg->pgcfg.ad_unixuser_attr != NULL) in load_cfg_in_state()
1126 if (_idmapdstate.cfg->pgcfg.ad_unixuser_attr != NULL) { in load_cfg_in_state()
1127 state->ad_unixuser_attr = in load_cfg_in_state()
1128 strdup(_idmapdstate.cfg->pgcfg.ad_unixuser_attr); in load_cfg_in_state()
1129 if (state->ad_unixuser_attr == NULL) { in load_cfg_in_state()
1945 state->ad_unixuser_attr, state->ad_unixgroup_attr); in ad_lookup_batch_int()
3328 free(state->ad_unixuser_attr); in cleanup_lookup_state()
3498 state->ad_unixuser_attr != NULL && in sid2pid_second_pass()
3500 strcasecmp(state->ad_unixuser_attr, in sid2pid_second_pass()
[all …]
H A Dinit.c424 CHECK_NULL(pgcfg->ad_unixuser_attr)); in print_idmapdstate()
H A Dserver.c1260 pgcfg->ad_unixuser_attr); in idmap_get_prop_1_svc()