mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s3:winbind: Make wb_seqnums.c update the winbind cache seqnums
This commit is contained in:
parent
99cf696150
commit
ae6a6690d5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user