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