Lines Matching refs:service
88 static char ** parseDN(const char *val, const char *service);
374 * service.
377 * INPUT: service
384 const char *service,
417 if (service == NULL) {
425 for (i = 0; ns_def_map[i].service != NULL; i++) {
426 if (strcasecmp(service,
427 ns_def_map[i].service) == 0) {
446 if (ns_def_map[i].service == NULL) {
451 if (strchr(service, '=') == NULL) {
453 if (strncasecmp(service, "auto_", 5) == 0) {
463 service, &buffer, error);
473 buflen = strlen(service) + strlen(p) +
483 "nisMapName=%s,%s", service, p);
486 buflen = strlen(service) + strlen(p) + 2;
494 "%s,%s", service, p);
508 * service.
511 * INPUT: service
517 const char *service,
531 if (service && paramVal) {
534 (const char *)service);
551 * INPUT: val, service
556 const char *service)
575 if (service == NULL || *service == '\0')
579 slen = strlen(service);
580 if (strncasecmp(val, service, slen) != 0) {
584 * for V1 profile, map service
591 * for similar service to SSD_service
594 for (i = 0; ns_def_map[i].service != NULL; i++) {
596 strcasecmp(service,
597 ns_def_map[i].service) == 0) {
1562 * the given service. For example, return all the "passwd" SSDs for
1563 * service "shadow" if no SSD is defined for service "shadow" and
1565 * of sharing the SSDs defined for some other service is to reduce the
1566 * configuration complexity. For a service, which does not have its own
1568 * be set. But since this service must share the container with at least
1569 * one other service which does have it own entries, the SSD for
1570 * this other service will be shared by this service.
1571 * This other service is called the SSD-to-use service.
1573 * defines the SSD-to-use service for all the services supported.
1576 * INPUT: service
1580 __s_api_get_SSD_from_SSDtoUse_service(const char *service,
1603 if (service == NULL)
1606 if (strncasecmp(service, "auto_", 5) == 0)
1612 rc = __ns_ldap_getSearchDescriptors(service, SSDlist, errorp);
1621 * If service == auto_* and SSD is not found,
1640 service,
1656 * Find the SSDtoUse service.
1659 for (i = 0; ns_def_map[i].service != NULL; i++) {
1661 strcasecmp(service,
1662 ns_def_map[i].service) == 0) {
1697 "service '%s' contains filter, "
1699 "service '%s'."),
1700 SSD_service, service);
1895 const char *service,
1902 if (service == NULL || SSDlist == NULL || *SSDlist == NULL)
1909 service, &ssdlist[i]->basedn, errorp);
1933 const char *service,
1945 if (service == NULL || dn == NULL || *dn == NULL)
1965 service, default_automountmapname);
2016 len_s = strlen(service);
2018 /* automountMapName + "=" + service + "," + dn + '\0' */
2027 automountmapname, service, *dn);