Lines Matching refs:key

375  * as the key is being performed. The GROUP_DN tag indicates a group DN
376 * as the key. GROUP_DN_NS indicates a group DN key but with no result
503 * the necessary key information for psearch and for cache test operations.
599 /* Find the search key from the packed buffer header. */
615 arg->key.name = (char *)buffer + pbuf->key_off;
849 dn = arg.key.name;
851 /* malformed/improperly sized key/dn */
1056 do_lookup(char *cache_name, const char *tag, const char *key, int dbop,
1078 /* space needed for tag and key: keylen_round_up */
1079 keylen = strlen(key) + 1;
1124 /* tag and key */
1128 (void) strcpy(bptr + PSEARCH_TAG_LEN, key);
1130 (void) strcpy(bptr, key);
1157 char key[256];
1165 * Search key is the rdn value.
1167 *key = '\0';
1168 /* skip rdn attr type and use the attr value as the search key */
1174 (void) strlcpy(key, cp + 1, sizeof (key));
1179 if (*key == '\0')
1183 res = do_lookup(NSS_DBNAM_PASSWD, NULL, key,
1216 rc = _mlist_add(mlpp, key);
1226 res = do_lookup(NSS_DBNAM_GROUP, NULL, key,
1763 if (_ldap_filter_name(groupname, argp->key.name, sizeof (groupname)) !=
1798 if (argp->key.uid > MAXUID)
1802 _F_GETGRGID, argp->key.uid);
1807 _F_GETGRGID_SSD, argp->key.uid);
2094 * the groups that the user identified by key is a member of.
2097 key_uid_psearch(const char *key, void **bufpp)
2121 if (key == NULL || *key == '\0') {
2130 ret = do_lookup(NSS_DBNAM_PASSWD, NULL, key,
2172 _F_GETPWNAM, key);
2178 key);
2283 * key as a memberuid or user_dn as one of the values of its
2288 key, searchDN, searchDN, searchDN);
2294 key, searchDN, searchDN, searchDN);
2339 if (strcmp(membervalue[k], key) == 0) {
2393 * memberof searches. The search key stored in the packed buffer
2394 * header is tagged to indicate whether the search key is a member uid
2404 const char *key;
2415 key = arg.key.name;
2418 if (strbw(key, PSEARCH_TAG_UID)) {
2420 key_uid_psearch(key + PSEARCH_TAG_LEN, bufpp);
2421 } else if (strbw(key, PSEARCH_TAG_GROUP_DN) ||
2422 strbw(key, PSEARCH_TAG_GROUP_DN_NS)) {
2424 key_groupDN_psearch(key, key + PSEARCH_TAG_LEN, bufpp);
2439 const char *key, _nss_ldap_list_t **gl, int *rec_callp)
2468 * For loop detection, check to see if key has already been
2472 if (nss_ldap_list_add(gl, key) != NSS_LDAP_LIST_SUCCESS) {
2481 res = do_lookup(LDAP_MEMBEROF_CACHE_NM, tag, key,