Lines Matching defs:entries

135 /* The TIMEFILTER_LENGTH is the length of the filter when timed entries
155 * The ldap_entry_wrapper structure is used to implement sorted result entries.
156 * A double is used for the order to allow for insertion of new entries
168 * well as an array of all result entries sorted by the sudoOrder attribute.
172 struct ldap_entry_wrapper *entries;
726 * If there are no runas entries, match runas_default against
971 * Stores a filter in the buffer that makes sure only entries
1233 * Builds up a filter to check against netgroup entries in LDAP.
1838 * Like sudo_ldap_lookup(), except we just print entries.
1859 /* Display all matching entries. */
1861 entry = lres->entries[i].entry;
1894 entry = lres->entries[i].entry;
2091 efree(lres->entries);
2092 lres->entries = NULL;
2359 /* Fetch list of sudoRole entries that match user and host. */
2364 * password is required, so the order of the entries doesn't matter.
2374 entry = lres->entries[i].entry;
2411 DPRINTF(("searching LDAP for sudoers entries"), 1);
2415 entry = lres->entries[i].entry;
2451 /* No matching entries. */
2481 * one currently being used to add entries.
2529 * of 100 entries to save on allocation time.
2533 lres->entries = erealloc3(lres->entries, lres->allocated_entries,
2534 sizeof(lres->entries[0]));
2538 lres->entries[lres->nentries - 1].entry = entry;
2539 lres->entries[lres->nentries - 1].order = order;
2541 return &lres->entries[lres->nentries - 1];
2590 DPRINTF(("reusing previous result (user %s) with %d entries",
2610 * The second pass will return all the entries that contain
2614 * Since we have to sort the possible entries before we make a
2649 DPRINTF(("result now has %d entries", lres->nentries), 1);
2654 /* Sort the entries by the sudoOrder attribute. */
2655 DPRINTF(("sorting remaining %d entries", lres->nentries), 1);
2656 qsort(lres->entries, lres->nentries, sizeof(lres->entries[0]),
2719 * to individual entries, this has to be initialized first.
2731 * Now add each entry in the search result to the array of of entries
2738 DPRINTF(("sudo_ldap_result_from_search: %d entries found",