diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-11-29 13:23:23 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-02-08 23:20:18 +0100 |
commit | e935a04afb017ff52b6caf9bfa66888ab541c894 (patch) | |
tree | 6bebbb9dbf7ae483d4233c17843c7688090710fd /selftest | |
parent | 41bc007d49e8bb304cdfb07231d402fa9ad828d7 (diff) | |
download | samba-e935a04afb017ff52b6caf9bfa66888ab541c894.tar.gz |
getncchanges: only set nc_{object,linked_attributes}_count with DRSUAPI_DRS_GET_NC_SIZE
The main change is that we return 0 values if DRSUAPI_DRS_GET_NC_SIZE is not
present in order to get the same result as a Windows server in that case.
If DRSUAPI_DRS_GET_NC_SIZE is return the number of links we found so far
during the cycle in addition the number of objects returned in this cycle.
Both values doesn't match what Windows returns, but doing that
correctly and efficient is a task for another day.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12398
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index b453b9c820b..d96e238796c 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -312,5 +312,3 @@ ^samba.tests.dcerpc.dnsserver.samba.tests.dcerpc.dnsserver.DnsserverTests.test_add_duplicate_different_type.* ^samba.tests.dcerpc.dnsserver.samba.tests.dcerpc.dnsserver.DnsserverTests.test_rank_none.* ^samba.tests.dcerpc.dnsserver.samba.tests.dcerpc.dnsserver.DnsserverTests.test_security_descriptor.* -# nc_object_count is updated without GET_NC_SIZE -^samba4.drs.getnc_exop.python.*getnc_exop.DrsReplicaSyncTestCase.test_link_utdv_hwm.* |