drsuapi: total_object_count was the wrong guess
authorStefan Metzmacher <metze@samba.org>
Tue, 15 Jul 2008 14:59:09 +0000 (16:59 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 16 Jul 2008 10:16:58 +0000 (12:16 +0200)
commitc6ea7f02217fc28dc30882d3f9d543b805de2d74
treec170e148fe7c2c7cdf84018b3dabbc652cee85b0
parent033683b00ed99e891bb6bc5852dc2d6f146b1874
drsuapi: total_object_count was the wrong guess

The total_object_count member of DsGetNCChangesCtr[1|6] was wrong
it's the error code of an extended operation.

DsGetNCChangesCtr6 has a nc_object_count value which contains
the estimated amount of objects in the naming_context.

W2k seems to have a bug and sends this number of objects
in the extended_ret field. Maybe it's just a bug and
not a feature:-)

metze
(This used to be commit 67931092128ce89aadf689a54e20d6e4a9d7fe2c)
source4/libnet/libnet_vampire.c
source4/torture/libnet/libnet_BecomeDC.c