rpc_server: Use the RPC TCPIP ports of Windows
authorAndreas Schneider <asn@samba.org>
Mon, 16 Jan 2017 10:43:12 +0000 (11:43 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 27 Jan 2017 07:09:15 +0000 (08:09 +0100)
commit35dfa5c6e2bf60f8f1efda5eb7026cabe8bf5ba3
treef7f5f3ea98e94c721f9b747a7d9d652906bfa48b
parent2cf141ed45b4f7b7754cb9525d987ff38495d789
rpc_server: Use the RPC TCPIP ports of Windows

Since Windows Server 2008 Microsoft uses a different port range for RPC
services. Before it was 1024-65535 and they changed it to 49152-65535.

We should use the same range as these are the ports the firewall in AD
networks normally allow.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12521

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_server/rpc_server.c
source4/smbd/service_stream.c