Lines Matching defs:mapping

112 	/* we only check schema mapping for automount, not for auto_* */
156 * "gecos" 1 to N attribute mapping code. It expects
233 * the "gecos" 1 to N attribute mapping
275 char **mapping;
285 * add 2 for "gecos" 1 to up to 3 attribute mapping
292 * add 2 for "gecos" 1 to up to 3 attribute mapping
305 * see if schema mapping existed for the given service
307 mapping = __ns_ldap_getOrigAttribute(service,
309 if (mapping) {
311 __s_api_free2dArray(mapping);
312 mapping = NULL;
319 * Perform attribute mapping if necessary.
322 mapping = __ns_ldap_getMappedAttributes(service,
325 mapping = NULL;
327 if (mapping == NULL && auto_service &&
335 mapping = __ns_ldap_getMappedAttributes("automount",
339 if (mapping == NULL) {
345 * 1 to N attribute mapping is only done for "gecos",
346 * and only 1 to 3 mapping.
369 * same as other no-mapping attributes,
386 mapping[1] && attr[k]->attrvalue[0] &&
399 if (mapping[2] == NULL || comma2 == NULL) {
410 mapping[0], c, vlen);
424 __s_api_free2dArray(mapping);
425 mapping = NULL;
446 mapping[1], c, vlen);
455 /* done with the mapping array */
456 __s_api_free2dArray(mapping);
457 mapping = NULL;
471 mapping[0], c, vlen);
499 mapping[1], c, vlen);
512 __s_api_free2dArray(mapping);
513 mapping = NULL;
533 mapping[2], c, vlen);
542 /* done with the mapping array */
543 __s_api_free2dArray(mapping);
544 mapping = NULL;
551 mods[i]->mod_type = strdup(mapping[0]);
555 __s_api_free2dArray(mapping);
556 mapping = NULL;
564 * Perform objectclass mapping.
574 mapping =
578 mapping = NULL;
580 if (mapping == NULL && auto_service &&
587 mapping =
591 if (mapping && mapping[0]) {
592 /* assume single mapping */
593 modval[j] = strdup(mapping[0]);
614 if (mapping)
615 __s_api_free2dArray(mapping);