diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-16 17:05:58 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-16 21:09:17 +1000 |
commit | dc59de562774a1ee09e3c819c3523e66da975f24 (patch) | |
tree | cfc9cf6de1f1ace9b2fcb12099268478874264b1 /source4/rpc_server | |
parent | 5958997a9bc44876c6f3b810689f52e5e3bd6ded (diff) | |
download | samba-dc59de562774a1ee09e3c819c3523e66da975f24.tar.gz samba-dc59de562774a1ee09e3c819c3523e66da975f24.tar.bz2 samba-dc59de562774a1ee09e3c819c3523e66da975f24.zip |
s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecords
this is used by a RODC to do DNS updates, as TSIG updates are not
allowed by RODCs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 7dc8a76dad..21dacd3995 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -35,6 +35,7 @@ #include "../libcli/ldap/ldap_ndr.h" #include "cldap_server/cldap_server.h" #include "lib/tsocket/tsocket.h" +#include "librpc/gen_ndr/ndr_netlogon.h" struct netlogon_server_pipe_state { struct netr_Credential client_challenge; @@ -2258,6 +2259,25 @@ static NTSTATUS dcesrv_netr_ServerGetTrustInfo(struct dcesrv_call_state *dce_cal DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); } +/* + netr_Unused47 +*/ +static NTSTATUS dcesrv_netr_Unused47(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct netr_Unused47 *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + +/* + netr_DsrUpdateReadOnlyServerDnsRecords +*/ +static NTSTATUS dcesrv_netr_DsrUpdateReadOnlyServerDnsRecords(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct netr_DsrUpdateReadOnlyServerDnsRecords *r) +{ + NDR_PRINT_FUNCTION_DEBUG(netr_DsrUpdateReadOnlyServerDnsRecords, NDR_IN, r); + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + /* include the generated boilerplate */ #include "librpc/gen_ndr/ndr_netlogon_s.c" |