Extend DsBind and DsGetDomainControllerInfo to work with w2k8.
authorDirk Godau <voidswitch@gmail.com>
Tue, 24 May 2016 23:49:24 +0000 (11:49 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 26 May 2016 04:21:10 +0000 (06:21 +0200)
commit1fd7c28d5fb575e75b5085e8589aef2525c8e784
tree2946d69fc665b33cfd6a005f1dde95f29c0a0773
parent6ded4f52302d5f2c127d94c9853fcc0df1017ee7
Extend DsBind and DsGetDomainControllerInfo to work with w2k8.

W2K8 Clients ask for DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 on DsBind. W2K8
expect this to be set (with server fl 2k8) or else they do not call
DsGetDomainControllerInfo.

If DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 is set, DsGetDomainControllerInfo
must be able to return DCInfo Level 3.

If Samba4 AD ist set to work as 2k8, with >2k8 clients the following
will not work as expected:

  * Group Policy Editor Infrastructure Discovery
  * nltest /dclist:<domain>
  * w32tm /monitor

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9971
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9976

Signed-off-by: Dirk Godau <voidswitch@gmail.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu May 26 06:21:10 CEST 2016 on sn-devel-144
selftest/knownfail
source4/rpc_server/drsuapi/dcesrv_drsuapi.c
source4/rpc_server/drsuapi/dcesrv_drsuapi.h