Home
last modified time | relevance | path

Searched refs:searchSpec (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libnisdb/
H A Dldap_ldap.c258 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) { in storeLDAP()
278 if (slen(item->searchSpec.triple.base) > 0) in storeLDAP()
279 ls.base = item->searchSpec.triple.base; in storeLDAP()
285 ls.scope = item->searchSpec.triple.scope; in storeLDAP()
292 if (slen(item->searchSpec.triple.attrs) > 0 || in storeLDAP()
293 item->searchSpec.triple.element != 0) { in storeLDAP()
298 if (item->searchSpec.triple.element != 0) { in storeLDAP()
300 item->searchSpec.triple.element, 0); in storeLDAP()
316 ls.filter = item->searchSpec.triple.attrs; in storeLDAP()
333 } else if (slen(item->searchSpec.triple.base) > 0) { in storeLDAP()
[all …]
H A Dnis_parse_ldap_util.c501 free_index(&item->searchSpec.obj.index); in free_mapping_item()
502 if (item->searchSpec.obj.name != NULL) in free_mapping_item()
503 free(item->searchSpec.obj.name); in free_mapping_item()
504 item->searchSpec.obj.name = NULL; in free_mapping_item()
506 if (item->searchSpec.triple.base != NULL) in free_mapping_item()
507 free(item->searchSpec.triple.base); in free_mapping_item()
508 item->searchSpec.triple.base = NULL; in free_mapping_item()
509 if (item->searchSpec.triple.attrs != NULL) in free_mapping_item()
510 free(item->searchSpec.triple.attrs); in free_mapping_item()
511 item->searchSpec.triple.attrs = NULL; in free_mapping_item()
[all …]
H A Dldap_val.c531 if (item->searchSpec.obj.index.numIndexes <= 0 && in getMappingItemVal()
532 item->searchSpec.obj.name == 0) { in getMappingItemVal()
563 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) { in getMappingItemVal()
573 } else if (item->searchSpec.triple.base == 0 && in getMappingItemVal()
574 item->searchSpec.triple.scope == in getMappingItemVal()
576 item->searchSpec.triple.attrs == 0 && in getMappingItemVal()
577 item->searchSpec.triple.element == 0) { in getMappingItemVal()
664 if (yp2ldap && item->searchSpec.triple.base && in getMappingItemVal()
665 strlen(item->searchSpec.triple.base) > 0) { in getMappingItemVal()
670 triple.base = appendBase(item->searchSpec.triple.base, in getMappingItemVal()
[all …]
H A Dldap_ruleval.c689 litem[i].searchSpec.triple.scope != in addLdapRuleValue()
691 slen(litem[i].searchSpec.triple.base) > 0 && in addLdapRuleValue()
692 (slen(litem[i].searchSpec.triple.attrs) > 0 || in addLdapRuleValue()
693 litem[i].searchSpec.triple.element != 0)) { in addLdapRuleValue()
H A Dldap_parse.h271 __nis_triple_or_obj_t searchSpec; member
H A Dnis_parse_ldap_map.c1797 item->searchSpec.triple.scope = LDAP_SCOPE_UNKNOWN; in get_mapping_item()
1804 &item->searchSpec.triple); in get_mapping_item()
1819 &item->searchSpec.obj.index); in get_mapping_item()
1833 item->searchSpec.obj.name = name; in get_mapping_item()