summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2017-06-15 14:09:27 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-08-18 06:07:12 +0200
commit67617d470028b45c722c598944a17591cab1e6ba (patch)
tree1b6d3736b08bf450fbd230b784781791fab5145c /librpc
parentf69596cd21d8106afdf494f39d1fcebea2b0f5dd (diff)
downloadsamba-67617d470028b45c722c598944a17591cab1e6ba.tar.gz
drs: Check target object is known after applying objects
Currently we only check that the target object is known at the end of the transaction (i.e. the .prepare_commit hook). It's too late at this point to resend the request with GET_TGT. Move this processing earlier on, after we've applied all the objects (i.e. off the .extended hook). In reality, we need to perform the checks at both points. I've split the common code that gets the source/target details out of the la_entry into a helper function. It's not the greatest function ever, but seemed to make more sense than duplicating the code. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Garming Sam <garming@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12972
Diffstat (limited to 'librpc')
0 files changed, 0 insertions, 0 deletions