Searched defs:usn (Results 1 - 6 of 6) sorted by relevance

/sssd/src/providers/ldap/
H A Dsdap_sudo_shared.c125 unsigned long usn,
132 * (just usn >= last+1 instaed of usn >= last && usn != last).
134 usn++;
140 newusn = talloc_asprintf(mem_ctx, "%lu%s", usn, str);
151 const char *usn)
163 if (usn == NULL) {
164 DEBUG(SSSDBG_TRACE_FUNC, "Bug: usn is NULL\n");
169 usn_number = strtoul(usn,
124 sdap_sudo_new_usn(TALLOC_CTX *mem_ctx, unsigned long usn, const char *leftover) argument
150 sdap_sudo_set_usn(struct sdap_server_opts *srv_opts, const char *usn) argument
[all...]
H A Dsdap_async_sudo.c556 char *usn = NULL; local
621 /* remember new usn */
622 ret = sysdb_get_highest_usn(state, rules, rules_count, &usn);
624 sdap_sudo_set_usn(state->srv_opts, usn);
H A Dsdap_sudo_refresh.c170 const char *usn; local
182 /* Download all rules from LDAP that are newer than usn */
185 usn = "0";
189 usn = srv_opts->max_sudo_value;
192 map[SDAP_AT_SUDO_USN].name, usn);
203 "(USN >= %s)\n", usn);
/sssd/src/providers/ipa/
H A Dipa_sudo_refresh.c156 const char *usn; local
166 /* Download all rules from LDAP that are newer than usn */
169 usn = "0";
172 usn = srv_opts->max_sudo_value;
174 sudo_ctx->sudorule_map[IPA_AT_SUDORULE_ENTRYUSN].name, usn);
182 sudo_ctx->sudocmdgroup_map[IPA_AT_SUDOCMDGROUP_ENTRYUSN].name, usn);
191 "(USN >= %s)\n", usn);
H A Dipa_sudo_async.c144 char *usn; local
146 ret = sysdb_get_highest_usn(mem_ctx, attrs, num_attrs, &usn);
153 if (sysdb_compare_usn(usn, *current_usn) > 0) {
155 *current_usn = usn;
159 talloc_free(usn);
382 char *usn; member in struct:ipa_sudo_fetch_state
618 ret = ipa_sudo_highest_usn(state, attrs, num_attrs, &state->usn);
697 ret = ipa_sudo_highest_usn(state, attrs, num_attrs, &state->usn);
828 *_usn = talloc_steal(mem_ctx, state->usn);
1043 char *usn local
[all...]
/sssd/src/db/
H A Dsysdb.c1641 char *usn; local
1677 usn = talloc_strdup(mem_ctx, "0");
1679 usn = talloc_strdup(mem_ctx, highest);
1682 if (usn == NULL) {
1686 *_usn = usn;

Completed in 47 milliseconds