Lines Matching refs:mapping

96  * Convert attribute type in a RDN that has an attribute mapping to the
106 * Return: NULL - No attribute mapping in the RDN
137 /* The attribute mapping is found */
154 * No attribute mapping. attrs[i] is going to be copied
163 /* No attribute mapping. Don't bother to reconstruct RDN */
204 * Convert attribute type in a DN that has an attribute mapping to the
247 * No RDN contains any attribute mapping.
314 char **mapping;
341 * see if schema mapping existed for the given service
343 mapping = __ns_ldap_getOrigAttribute(service,
345 if (mapping) {
347 __s_api_free2dArray(mapping);
348 mapping = NULL;
352 * schema mapping found
354 * There is certain case that schema mapping exist
365 * unnecessarily. It is also used for attribute mapping
366 * and objectclass mapping.
368 mapping = __ns_ldap_getOrigAttribute("automount",
370 if (mapping) {
372 __s_api_free2dArray(mapping);
373 mapping = NULL;
390 * add 1 for "gecos" 1 to N attribute mapping,
477 mapping = NULL;
479 mapping = __ns_ldap_getOrigAttribute(service, attr);
481 if (mapping == NULL && auto_service &&
484 * if service == auto_* and no schema mapping found
489 mapping = __ns_ldap_getOrigAttribute("automount",
492 if (mapping == NULL) {
505 * for "gecos" 1 to N mapping,
510 if (strcasecmp(mapping[0], "gecos") == 0) {
514 ap[j]->attrname = strdup(mapping[0]);
527 * 1 to N attribute mapping processing
531 if (strcasecmp(mapping[0], "gecos") == 0) {
533 * get attribute mapping for "gecos",
540 service, mapping[0]);
549 "Attribute mapping "
553 mapping[0], attr);
561 __s_api_free2dArray(mapping);
562 mapping = NULL;
573 * 3rd attr in the mapping list?
593 "Attribute mapping "
597 mapping[0], attr);
604 __s_api_free2dArray(mapping);
605 mapping = NULL;
611 __s_api_free2dArray(mapping);
612 mapping = NULL;
644 mapping =
648 if (mapping == NULL && auto_service)
651 * schema mapping found
654 mapping =
658 if (mapping == NULL) {
663 strdup(mapping[0]);
664 __s_api_free2dArray(mapping);
665 mapping = NULL;
713 /* special processing for gecos 1 to up to 3 attribute mapping */
736 * mapping attributes
864 * We are not going to perform DN to domain mapping
914 * We are not going to perform DN to domain mapping
1066 char **mapping;
1079 char **mapping;
1102 * See if schema mapping existed for the given service.
1105 mapping = __ns_ldap_getOrigAttribute(service,
1108 if (mapping == NULL && auto_service)
1111 * schema mapping found
1114 mapping = __ns_ldap_getOrigAttribute(
1117 if (mapping)
1118 __s_api_free2dArray(mapping);
1132 * objectclass or attribute mapping functions.
1313 /* perform schema mapping */
1319 info[i]->mapping =
1323 info[i]->mapping =
1327 if (info[i]->mapping == NULL && auto_service) {
1335 info[i]->mapping =
1339 info[i]->mapping =
1344 if (info[i]->mapping == NULL ||
1345 info[i]->mapping[0] == NULL) {
1347 } else if (info[i]->mapping[1] == NULL) {
1348 info[i]->to_name = info[i]->mapping[0];
1351 __s_api_free2dArray(info[i]->mapping);
1353 * multiple mapping
1359 "mapping for '%s' in filter "
1370 if (info[j]->mapping)
1372 info[j]->mapping);
1395 if (info[j]->mapping)
1397 info[j]->mapping);
1443 if (info[j]->mapping)
1444 __s_api_free2dArray(info[j]->mapping);
1513 * perform attribute/objectclass mapping on filter
1526 * no mapping was done
2234 * mapping as appropriate. The approximate pseudocode for
3271 * mapping as appropriate. The operation may be retried a
3304 * mapping as appropriate. The operation may be retried a
4400 * dn to domain mapping(s)
4534 char **mapping = NULL;
4552 mapping = __ns_ldap_getMappedAttributes(service, automountmapname);
4558 if (mapping == NULL)
4559 mapping = __ns_ldap_getMappedAttributes(
4566 if (mapping == NULL)
4574 if (mapping[0] != NULL) {
4575 mapped_attr = strdup(mapping[0]);
4576 __s_api_free2dArray(mapping);
4581 __s_api_free2dArray(mapping);