Lines Matching defs:item
196 * Store 'val' at the LDAP location indicated by 'item'. As usual,
207 * item->repeat == 0 || index < numIndexes
214 * used when the item search triple is invalid. Also, the defDN->write.base
215 * value is appended to the item search base if the latter is empty, or ends
218 * If the item search triple is invalid, 'dn' must contain the DN(s)
229 storeLDAP(__nis_mapping_item_t *item, int index, int numIndexes,
240 if (item == 0 || item->type != mit_ldap || item->name == 0 ||
254 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) {
264 myself, NIL(item->name));
272 if (slen(item->searchSpec.triple.base) > 0)
273 ls.base = item->searchSpec.triple.base;
279 ls.scope = item->searchSpec.triple.scope;
286 if (slen(item->searchSpec.triple.attrs) > 0 ||
287 item->searchSpec.triple.element != 0) {
292 if (item->searchSpec.triple.element != 0) {
294 item->searchSpec.triple.element, 0);
310 ls.filter = item->searchSpec.triple.attrs;
327 } else if (slen(item->searchSpec.triple.base) > 0) {
328 locDN[0] = item->searchSpec.triple.base;
363 if (item->repeat && index == (numIndexes - 1))
368 rv->attrName[0] = sdup(myself, T, item->name);
410 stat = ldapModify(dn[i], rv, item->searchSpec.triple.attrs, 0);