From 400a56d6dd2f02569a626f4507ec06fa49cf0839 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 22 Dec 2006 07:04:06 +0000 Subject: r20315: Implement the server side of DsGetDomainControllerInfo. This is a supprisingly complex call... It turns out that the in/out parameter 'level' is not in/out, but set seperatly by the server-side code from r->req.req1.level. This commit also breaks out some common code from samldb into samdb. Andrew Bartlett (This used to be commit 2eb9e6445c64840399171f4f56b1e43786dbcfa7) --- source4/librpc/idl/drsuapi.idl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/librpc/idl/drsuapi.idl') diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index 119e0b1b3e..fe0e98fe0d 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -1093,9 +1093,10 @@ interface drsuapi WERROR drsuapi_DsGetDomainControllerInfo( [in] policy_handle *bind_handle, - [in, out] int32 level, + [in] int32 level, [in,switch_is(level)] drsuapi_DsGetDCInfoRequest req, - [out,switch_is(level)] drsuapi_DsGetDCInfoCtr ctr + [out] int32 level_out, + [out,switch_is(level_out)] drsuapi_DsGetDCInfoCtr ctr ); /*****************/ -- cgit