diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/epmapper/srv_epmapper.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c index 49f2c9ad0e..0d3ed115f8 100644 --- a/source3/rpc_server/epmapper/srv_epmapper.c +++ b/source3/rpc_server/epmapper/srv_epmapper.c @@ -142,6 +142,14 @@ static bool endpoints_match(const struct dcerpc_binding *ep1, return false; } + if (!ep1->host || !ep2->host) { + return ep1->endpoint == ep2->endpoint; + } + + if (!strequal(ep1->host, ep2->host)) { + return false; + } + return true; } |