summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-22 12:16:46 +0200
committerMichael Adam <obnox@samba.org>2008-07-22 14:47:11 +0200
commit2d7660dcc3df2148be07152cf2337336ae54de85 (patch)
tree92697883c519f15e8816b3b3f907238b6fd68360
parenta42aca1576366f3125e8b97eb1d3d4fffa7b7893 (diff)
downloadsamba-2d7660dcc3df2148be07152cf2337336ae54de85.tar.gz
samba-2d7660dcc3df2148be07152cf2337336ae54de85.tar.bz2
samba-2d7660dcc3df2148be07152cf2337336ae54de85.zip
rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
Michael (This used to be commit 27ce662f5d4e1185cedc59c52f94458fb6425f5c)
-rw-r--r--source3/rpcclient/cmd_drsuapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_drsuapi.c b/source3/rpcclient/cmd_drsuapi.c
index 630354fe51..1cef6b910b 100644
--- a/source3/rpcclient/cmd_drsuapi.c
+++ b/source3/rpcclient/cmd_drsuapi.c
@@ -405,6 +405,8 @@ static WERROR cmd_drsuapi_getncchanges(struct rpc_pipe_client *cli,
supported_extensions = bind_info.info.info24.supported_extensions;
} else if (bind_info.length == 28) {
supported_extensions = bind_info.info.info28.supported_extensions;
+ } else if (bind_info.length == 48) {
+ supported_extensions = bind_info.info.info48.supported_extensions;
}
if (!nc_dn) {