Lines Matching +defs:val +defs:values
88 static char ** parseDN(const char *val, const char *service);
628 * Parse a special formated list(val) into an array of char *.
631 * INPUT: val, service
635 const char *val,
653 if (val == NULL || *val == '\0')
658 len = strlen(val);
660 if (strncasecmp(val, service, slen) != 0) {
688 if (strncasecmp(val, SSD_service, slen) != 0)
692 temptr = val + slen;
714 temptr = val;
715 valend = val+len;
964 void **val = NULL;
967 &val, error)) != NS_LDAP_SUCCESS) {
978 if (val != NULL && (*val) != NULL &&
979 *(int *)val[0] == 1)
1002 (void) __ns_ldap_freeParam(&val);
1380 * this will take precendence over the values specified
2320 * as "cn". When the "cn" values are retrieved, there is no distinction
2337 * or RDN value does not match any existing "cn" values.
2358 char **rdn = NULL, **attrs = NULL, **values = NULL;
2365 /* "values" is read-only */
2366 if ((values = __ns_ldap_getAttr(entry, "dn")) == NULL ||
2367 values[0] == NULL)
2370 if ((rdn = ldap_explode_dn(values[0], 0)) == NULL ||
2397 * match rdn value with values in "cn".