rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
authorMichael Adam <obnox@samba.org>
Tue, 22 Jul 2008 10:16:46 +0000 (12:16 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 22 Jul 2008 12:47:11 +0000 (14:47 +0200)
Michael
(This used to be commit 27ce662f5d4e1185cedc59c52f94458fb6425f5c)

source3/rpcclient/cmd_drsuapi.c

index 630354fe515b0f48e74112a4cf1b86ff6f0776d8..1cef6b910b0342500fbecbb667b83d44cd5f1fa6 100644 (file)
@@ -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) {