diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/wb_seqnums.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source3/winbindd/wb_seqnums.c b/source3/winbindd/wb_seqnums.c index f4044338a1..e6efb9b99a 100644 --- a/source3/winbindd/wb_seqnums.c +++ b/source3/winbindd/wb_seqnums.c @@ -1,6 +1,8 @@ /* Unix SMB/CIFS implementation. - async seqnums + + async seqnums, update the seqnums in winbindd_cache.c + Copyright (C) Volker Lendecke 2009 This program is free software; you can redistribute it and/or modify @@ -100,7 +102,16 @@ static void wb_seqnums_done(struct tevent_req *subreq) state->stati[i] = status; if (NT_STATUS_IS_OK(status)) { state->seqnums[i] = seqnum; + + /* + * This first assignment might be removed + * later + */ state->domains[i]->sequence_number = seqnum; + + wcache_store_seqnum(state->domains[i]->name, + state->seqnums[i], + time(NULL)); } break; } |