1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source4/dsdb/common
Tim Beale ed2fc52243 drs: Add basic GET_TGT support
This adds basic DRS_GET_TGT support. If the GET_TGT flag is specified
then the server will use the object cache to store the objects it sends
back. If the target object for a linked attribute is not in the cache
(i.e. it has not been sent already), then it is added to the response
message.

Note that large numbers of linked attributes will not be handled well
yet - the server could potentially try to send more than will fit in a
single repsonse message.

Also note that the client can sometimes set the GET_TGT flag even if the
server is still sending the links last. In this case, we know the client
supports GET_TGT so it's safe to send the links interleaved with the
source objects (the alternative of fetching the target objects but not
sending the links until last doesn't really make any sense).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2017-09-18 05:51:24 +02:00
..
tests dsdb: Add more tests for DN+String and DN+Binary comparisons 2014-02-05 10:41:37 +01:00
dsdb_access.c dsdb: remove a wrong comment in dsdb_check_access_on_dn_internal() 2013-06-13 18:19:24 +02:00
dsdb_dn.c Correct "hexidecimal" typos. 2017-02-22 08:26:23 +01:00
dsdb_dn.h dsdb: Define syntax access point oid string as a macro 2014-12-22 00:18:09 +01:00
util_groups.c Remove a number of NT_STATUS_HAVE_NO_MEMORY_AND_FREE macros from the codebase. 2014-03-05 16:33:21 +01:00
util_links.c dsdb: Allow parsed_dn_find to have a prefixed blob match 2017-03-13 05:10:12 +01:00
util_links.h dsdb: Allow parsed_dn_find to have a prefixed blob match 2017-03-13 05:10:12 +01:00
util_samr.c s4:dsdb/util_samr: simplify dsdb_add_user() 2014-04-02 17:12:46 +02:00
util_trusts.c s4-dsdb: Fix a possible NULL pointer dereference 2016-06-22 19:25:20 +02:00
util.c drs: Add basic GET_TGT support 2017-09-18 05:51:24 +02:00
util.h dsdb: Rework kcc_deleted() into dsdb_garbage_collect_tombstones() 2016-09-01 05:49:14 +02:00