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)
commit67931092128ce89aadf689a54e20d6e4a9d7fe2c
treed0c989c4846acbfd839eff5722c5d830706bc69d
parent9e99e59ca7e56bf74417ec85339e09e86f50d17e
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
source/libnet/libnet_vampire.c
source/torture/libnet/libnet_BecomeDC.c