summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/lsasd.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/rpc_server/lsasd.c b/source3/rpc_server/lsasd.c
index 5eb0fe5617..1c6bde6082 100644
--- a/source3/rpc_server/lsasd.c
+++ b/source3/rpc_server/lsasd.c
@@ -644,6 +644,22 @@ static bool lsasd_create_sockets(struct tevent_context *ev_ctx,
goto done;
}
+ fd = create_named_pipe_socket("lsass");
+ if (fd < 0) {
+ ok = false;
+ goto done;
+ }
+ listen_fd[*listen_fd_size] = fd;
+ (*listen_fd_size)++;
+
+ rc = listen(fd, pf_lsasd_cfg.max_allowed_clients);
+ if (rc == -1) {
+ DEBUG(0, ("Failed to listen on lsass pipe - %s\n",
+ strerror(errno)));
+ ok = false;
+ goto done;
+ }
+
fd = create_dcerpc_ncalrpc_socket("lsarpc");
if (fd < 0) {
ok = false;