diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-27 23:39:57 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-28 00:19:30 +1000 |
commit | 91bb4893c486275602242b67c810f02adb7ce9ba (patch) | |
tree | f8b336a64dba9398315e1f8303e0ad67c043689b /source4/rpc_server/netlogon | |
parent | 7f25723cf504b3cdc0db68ff4125539baa486975 (diff) | |
download | samba-91bb4893c486275602242b67c810f02adb7ce9ba.tar.gz samba-91bb4893c486275602242b67c810f02adb7ce9ba.tar.bz2 samba-91bb4893c486275602242b67c810f02adb7ce9ba.zip |
s4-netlogon: fixed getDcNameEx2 for blank inputs
w2k8r2 returns the local DC information on no inputs for
getDcNameEx2. This is needed for starting dsa.msc (ADUC) on
Win7.
CDLAP on the same call returns an error. This uses a parameter
fill_on_blank_request to distinguish the two cases.
Diffstat (limited to 'source4/rpc_server/netlogon')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 2650dc7e59..b55ad57350 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -1568,7 +1568,7 @@ static WERROR dcesrv_netr_DsRGetDCNameEx2(struct dcesrv_call_state *dce_call, r->in.client_account, r->in.mask, addr, NETLOGON_NT_VERSION_5EX_WITH_IP, - lp_ctx, &response); + lp_ctx, &response, true); if (!NT_STATUS_IS_OK(status)) { return ntstatus_to_werror(status); } |