summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-06-29 12:28:03 +0200
committerStefan Metzmacher <metze@samba.org>2016-06-24 14:09:01 +0200
commit200864fad2810a85a44ea96508ff2bd0f9176d78 (patch)
tree8a1178bb8f132e0d34dbefdab6bcd91c7c280bac /source4/smbd
parentd9e242e9035c15e49b041afc61e5a4a08877f289 (diff)
downloadsamba-200864fad2810a85a44ea96508ff2bd0f9176d78.tar.gz
s4:server_named_pipe: make sure we use lower case pipe name
This matches what tstream_npa_connect() expects. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/service_named_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/service_named_pipe.c b/source4/smbd/service_named_pipe.c
index f9907b261ff..b75a9faeb75 100644
--- a/source4/smbd/service_named_pipe.c
+++ b/source4/smbd/service_named_pipe.c
@@ -195,7 +195,7 @@ NTSTATUS tstream_setup_named_pipe(TALLOC_CTX *mem_ctx,
}
/* remember the details about the pipe */
- pipe_sock->pipe_name = talloc_strdup(pipe_sock, pipe_name);
+ pipe_sock->pipe_name = strlower_talloc(pipe_sock, pipe_name);
if (pipe_sock->pipe_name == NULL) {
goto fail;
}