diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-04 12:03:01 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-04 12:48:44 +0100 |
commit | 9d44600470e2f2444a09d91d5d6b36515454c919 (patch) | |
tree | c1901fa1973734ca4783016d64c50ec395164650 /source4 | |
parent | 885a1be8b932a212b6234a2a0c990975eb16e9e8 (diff) | |
download | samba-9d44600470e2f2444a09d91d5d6b36515454c919.tar.gz samba-9d44600470e2f2444a09d91d5d6b36515454c919.tar.bz2 samba-9d44600470e2f2444a09d91d5d6b36515454c919.zip |
s4:netlogon: for now implement netr_GetAnyDCName() as wrapper of netr_GetDcName()
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 2854980284..2806802e63 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -856,7 +856,18 @@ static WERROR dcesrv_netr_LogonControl(struct dcesrv_call_state *dce_call, TALLO static WERROR dcesrv_netr_GetAnyDCName(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct netr_GetAnyDCName *r) { - DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); + struct netr_GetDcName r2; + WERROR werr; + + ZERO_STRUCT(r2); + + r2.in.logon_server = r->in.logon_server; + r2.in.domainname = r->in.domainname; + r2.out.dcname = r->out.dcname; + + werr = dcesrv_netr_GetDcName(dce_call, mem_ctx, &r2); + + return werr; } |