summaryrefslogtreecommitdiff
path: root/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-09-24 21:34:02 -0700
committerMatthieu Patou <mat@matws.net>2012-10-07 21:51:01 -0700
commit9269870a709fb7c44f9e4eeb7024ea26dbd32d70 (patch)
treea4874252948f721e2204be4501bc96ba93d4e6cc /source4/rpc_server/drsuapi/dcesrv_drsuapi.c
parent3dd2b804b98e232bf9f28a29577f7fdd026a228c (diff)
downloadsamba-9269870a709fb7c44f9e4eeb7024ea26dbd32d70.tar.gz
samba-9269870a709fb7c44f9e4eeb7024ea26dbd32d70.tar.bz2
samba-9269870a709fb7c44f9e4eeb7024ea26dbd32d70.zip
Implement the LIST_INFO_FOR_SERVER input format
Diffstat (limited to 'source4/rpc_server/drsuapi/dcesrv_drsuapi.c')
-rw-r--r--source4/rpc_server/drsuapi/dcesrv_drsuapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
index b294e4644e..1f0ea9c8d6 100644
--- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
+++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
@@ -441,7 +441,6 @@ static WERROR dcesrv_drsuapi_DsCrackNames(struct dcesrv_call_state *dce_call, TA
case DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS:
case DRSUAPI_DS_NAME_FORMAT_MAP_SCHEMA_GUID:
case DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN:
- case DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER:
case DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_FOR_DOMAIN_IN_SITE:
case DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS_IN_SITE:
case DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_IN_SITE:
@@ -449,6 +448,8 @@ static WERROR dcesrv_drsuapi_DsCrackNames(struct dcesrv_call_state *dce_call, TA
DEBUG(0, ("DsCrackNames: Unsupported operation requested: %X",
r->in.req->req1.format_offered));
return WERR_OK;
+ case DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER:
+ return dcesrv_drsuapi_ListInfoServer(b_state->sam_ctx, mem_ctx, &r->in.req->req1, &r->out.ctr->ctr1);
case DRSUAPI_DS_NAME_FORMAT_LIST_ROLES:
return dcesrv_drsuapi_ListRoles(b_state->sam_ctx, mem_ctx,
&r->in.req->req1, &r->out.ctr->ctr1);