mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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>
This commit is contained in:
parent
d9e242e903
commit
200864fad2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user