Lines Matching defs:filter
55 * This is a generic filter call back function for
56 * merging the filter from service search descriptor with
57 * an existing search filter. This routine expects userdata
59 * use the format string with sprintf() to insert the SSD filter.
62 * filter call back together with filter and userdata. For example,
63 * "(&(objectclass=mailgroup)(|(cn=abc)(mail=abc)))" as filter
67 * filter, if the input SSD contains a filter "dpet=sds".
81 if (desc == NULL || desc->filter == NULL ||
85 len = strlen(userdata) + strlen(desc->filter) + 1;
92 desc->filter);
100 char filter[BUFSIZE];
126 if (snprintf(filter, sizeof (filter), ALIAS_FILTER, alias, alias) < 0) {
132 /* get the userdata for __ns_ldap_list filter call back */
144 rc = __ns_ldap_list(service, (const char *)filter,