auth: Always supply both the remote and local address to the auth subsystem
[samba.git] / source3 / rpc_server / srv_pipe.c
index 4a63dd734aaf733500db806c31d5f229e85620e4..446679f39d4945c10058077d4f3fc2fdeed7327e 100644 (file)
@@ -530,6 +530,7 @@ static bool pipe_auth_generic_bind(struct pipes_struct *p,
                                                    &auth_info->credentials,
                                                    response,
                                                    p->remote_address,
+                                                   p->local_address,
                                                    service_description,
                                                    &gensec_security);
        if (!NT_STATUS_IS_OK(status) &&