Lines Matching defs:mapping
108 * mapping to the original mappped type. Either way, the DN will be
122 * Return: NULL - No attribute mapping in the RDN
159 /* The attribute mapping is found */
175 * No attribute mapping. attrs[i] is going to be copied
224 * mapping to the original mappped type. Either way, the DN will be
251 /* Attribute mapping requires 'service' */
256 /* attribute mapping not needed and no space in DN, done */
614 char **mapping;
659 * see if schema mapping existed for the given service
661 mapping = __ns_ldap_getOrigAttribute(service,
663 if (mapping) {
665 __s_api_free2dArray(mapping);
666 mapping = NULL;
670 * schema mapping found
672 * There is certain case that schema mapping exist
683 * unnecessarily. It is also used for attribute mapping
684 * and objectclass mapping.
686 mapping = __ns_ldap_getOrigAttribute("automount",
688 if (mapping) {
690 __s_api_free2dArray(mapping);
691 mapping = NULL;
724 * add 1 for "gecos" 1 to N attribute mapping,
845 mapping = NULL;
847 mapping = __ns_ldap_getOrigAttribute(service, attr);
849 if (mapping == NULL && auto_service &&
852 * if service == auto_* and no schema mapping found
857 mapping = __ns_ldap_getOrigAttribute("automount",
860 if (mapping == NULL) {
867 * for "gecos" 1 to N mapping,
872 if (strcasecmp(mapping[0], "gecos") == 0) {
876 ap[j]->attrname = strdup(mapping[0]);
884 range_attr->mapped_name = strdup(mapping[0]);
894 * 1 to N attribute mapping processing
898 if (strcasecmp(mapping[0], "gecos") == 0) {
900 * get attribute mapping for "gecos",
907 service, mapping[0]);
916 "Attribute mapping "
920 mapping[0], attr);
931 * 3rd attr in the mapping list?
951 "Attribute mapping "
955 mapping[0], attr);
962 __s_api_free2dArray(mapping);
963 mapping = NULL;
1041 mapping = __ns_ldap_getOrigObjectClass(
1044 if (mapping == NULL && auto_service)
1047 * schema mapping found
1050 mapping =
1054 if (mapping != NULL) {
1057 strdup(mapping[0]);
1058 __s_api_free2dArray(mapping);
1059 mapping = NULL;
1103 /* special processing for gecos 1 to up to 3 attribute mapping */
1126 * mapping attributes
1203 if (mapping != NULL)
1204 __s_api_free2dArray(mapping);
1240 * due to attribute mapping. The one containing range
1456 * We are not going to perform DN to domain mapping
1506 * We are not going to perform DN to domain mapping
1663 char **mapping;
1676 char **mapping;
1699 * See if schema mapping existed for the given service.
1702 mapping = __ns_ldap_getOrigAttribute(service,
1705 if (mapping == NULL && auto_service)
1708 * schema mapping found
1711 mapping = __ns_ldap_getOrigAttribute(
1714 if (mapping)
1715 __s_api_free2dArray(mapping);
1729 * objectclass or attribute mapping functions.
1910 /* perform schema mapping */
1916 info[i]->mapping =
1920 info[i]->mapping =
1924 if (info[i]->mapping == NULL && auto_service) {
1932 info[i]->mapping =
1936 info[i]->mapping =
1941 if (info[i]->mapping == NULL ||
1942 info[i]->mapping[0] == NULL) {
1944 } else if (info[i]->mapping[1] == NULL) {
1945 info[i]->to_name = info[i]->mapping[0];
1948 __s_api_free2dArray(info[i]->mapping);
1950 * multiple mapping
1956 "mapping for '%s' in filter "
1967 if (info[j]->mapping)
1969 info[j]->mapping);
1992 if (info[j]->mapping)
1994 info[j]->mapping);
2040 if (info[j]->mapping)
2041 __s_api_free2dArray(info[j]->mapping);
2110 * perform attribute/objectclass mapping on filter
2123 * no mapping was done
2849 * mapping as appropriate. The approximate pseudocode for
3989 * mapping as appropriate. The operation may be retried a
4067 * mapping as appropriate. The operation may be retried a
4196 /* no need to perform attribute mapping on the DN */
4256 * mapping as appropriate. The operation may be retried a
5394 * dn to domain mapping(s)
5531 char **mapping = NULL;
5549 mapping = __ns_ldap_getMappedAttributes(service, automountmapname);
5555 if (mapping == NULL)
5556 mapping = __ns_ldap_getMappedAttributes(
5563 if (mapping == NULL)
5571 if (mapping[0] != NULL) {
5572 mapped_attr = strdup(mapping[0]);
5573 __s_api_free2dArray(mapping);
5578 __s_api_free2dArray(mapping);