summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_sudo.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-05-07 17:08:20 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-06-29 11:37:17 -0400
commitf143937efc6cbb1eb84042979c83dd5b3f23a40c (patch)
tree85f43baea7ceb4396457717c1b95e05ec278095e /src/providers/ldap/sdap_sudo.c
parentc8704f06db6dbbe39f50dfb35f20cdf27cf1f087 (diff)
downloadsssd-f143937efc6cbb1eb84042979c83dd5b3f23a40c.tar.gz
sssd-f143937efc6cbb1eb84042979c83dd5b3f23a40c.tar.bz2
sssd-f143937efc6cbb1eb84042979c83dd5b3f23a40c.zip
sudo ldap provider: find highest USN
Diffstat (limited to 'src/providers/ldap/sdap_sudo.c')
-rw-r--r--src/providers/ldap/sdap_sudo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c
index 06d359b7..8ce33a08 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -328,7 +328,8 @@ static void sdap_sudo_full_refresh_done(struct tevent_req *subreq)
req = tevent_req_callback_data(subreq, struct tevent_req);
state = tevent_req_data(req, struct sdap_sudo_full_refresh_state);
- ret = sdap_sudo_refresh_recv(subreq, &state->dp_error, &state->error);
+ ret = sdap_sudo_refresh_recv(state, subreq, &state->dp_error,
+ &state->error, NULL);
talloc_zfree(subreq);
if (ret != EOK) {
tevent_req_error(req, ret);
@@ -430,7 +431,7 @@ static int sdap_sudo_rules_refresh_recv(struct tevent_req *req,
int *dp_error,
int *error)
{
- return sdap_sudo_refresh_recv(req, dp_error, error);
+ return sdap_sudo_refresh_recv(req, req, dp_error, error, NULL);
}
static void sdap_sudo_periodical_full_refresh_done(struct tevent_req *req)