Searched refs:triple (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libnisdb/
H A Dldap_ldap.c214 * used when the item search triple is invalid. Also, the defDN->write.base
218 * If the item search triple is invalid, 'dn' must contain the DN(s)
219 * of the LDAP entry to be modified. If the search triple is valid,
221 * Derived via an LDAP search on the search triple 'attrs' or
223 * assumed to be the search triple base.
254 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) {
269 * Attempt to get a DN from the search triple.
272 if (slen(item->searchSpec.triple.base) > 0)
273 ls.base = item->searchSpec.triple.base;
279 ls.scope = item->searchSpec.triple
[all...]
H A Dnis_parse_ldap_util.c503 if (item->searchSpec.triple.base != NULL)
504 free(item->searchSpec.triple.base);
505 item->searchSpec.triple.base = NULL;
506 if (item->searchSpec.triple.attrs != NULL)
507 free(item->searchSpec.triple.attrs);
508 item->searchSpec.triple.attrs = NULL;
509 if (item->searchSpec.triple.element != NULL) {
511 item->searchSpec.triple.element);
512 free(item->searchSpec.triple.element);
514 item->searchSpec.triple
[all...]
H A Dldap_val.c560 /* Do we have a valid triple ? */
561 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) {
563 * No valid triple. If we have a rule-value, use it.
571 } else if (item->searchSpec.triple.base == 0 &&
572 item->searchSpec.triple.scope ==
574 item->searchSpec.triple.attrs == 0 &&
575 item->searchSpec.triple.element == 0) {
577 * We have a valid triple, but it points to the
589 * Valid triple, and it's not the current container
642 __nis_search_triple_t triple; local
[all...]
H A Dldap_parse.h144 * LDAP search triple
146 * Used to represent a search triple like
240 __nis_search_triple_t triple; member in union:__anon1957
254 * searchSpec LDAP search triple
499 * read base/scope/filter triple used to read data from LDAP;
501 * write base/scope/attrlist triple used to write data to LDAP;
H A Dldap_ruleval.c689 litem[i].searchSpec.triple.scope !=
691 slen(litem[i].searchSpec.triple.base) > 0 &&
692 (slen(litem[i].searchSpec.triple.attrs) > 0 ||
693 litem[i].searchSpec.triple.element != 0)) {
H A Dnis_parse_ldap_map.c1777 item->searchSpec.triple.scope = LDAP_SCOPE_UNKNOWN;
1784 &item->searchSpec.triple);
2266 * Get the search triple or if NULL determine if valid
2270 * search triple
2279 __nis_search_triple_t *triple
2311 if (triple != NULL) {
2386 if (triple != NULL)
2391 if (p_error == no_parse_error && triple != NULL) {
2392 triple->base = search_base;
2393 triple
[all...]
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c75 char *triple[NSS_NETGR_N]; member in struct:grouplist
116 if ((str = mem->triple[i]) == 0) {
148 if (gl->triple[i] != 0) {
149 free(gl->triple[i]);
337 int (*func)(ccp triple[3], void *iter_args, nss_status_t *return_val),
403 ccp triple[NSS_NETGR_N]; local
415 /* Doesn't look like the start of a triple, */
427 /* Main case: a (machine, user, domain) triple */
462 triple[i] = 0;
465 triple[
336 top_down(struct nis_netgr_be *be, const char **groups, int ngroups, int (*func)(ccp triple[3], void *iter_args, nss_status_t *return_val), void *iter_args) argument
589 match_triple(ccp triple[NSS_NETGR_N], void *ia_arg, nss_status_t *return_val) argument
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c236 split_triple(char *triple, char **hostname, char **username, char **domain) argument
240 char *p = triple;
246 if (triple == NULL)
305 * Test membership in triple
320 char triple[MAX_TRIPLE_LEN]; local
461 if (strlcpy(triple, *attr,
462 sizeof (triple)) >= sizeof (triple))
466 "triple is: %s", triple);
[all...]

Completed in 30 milliseconds