s4-drs: implement more of DsUpdateRefs
[nivanova/samba-autobuild/.git] / source4 / rpc_server / dcesrv_mgmt.c
index c89389b4e0d992f31d7dba12db02df912a99cd26..8c4eb63ec306ec72dcfe60896aec01ff67516a8c 100644 (file)
@@ -22,7 +22,6 @@
 #include "includes.h"
 #include "rpc_server/dcerpc_server.h"
 #include "librpc/gen_ndr/ndr_mgmt.h"
-#include "rpc_server/common/common.h"
 
 /* 
   mgmt_inq_if_ids 
@@ -39,7 +38,7 @@ static WERROR dcesrv_mgmt_inq_if_ids(struct dcesrv_call_state *dce_call, TALLOC_
        vector->if_id = NULL;
        for (l = ep->interface_list; l; l = l->next) {
                vector->count++;
-               vector->if_id = talloc_realloc(mem_ctx, vector->if_id, struct dcerpc_syntax_id_p, vector->count);
+               vector->if_id = talloc_realloc(mem_ctx, vector->if_id, struct ndr_syntax_id_p, vector->count);
                vector->if_id[vector->count-1].id = &l->iface.syntax_id;
        }
        return WERR_OK;