summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-27 19:18:09 +0200
committerJeremy Allison <jra@samba.org>2014-07-28 22:04:13 +0200
commitf5efddb9aebd896df014a011d68aefb314beee22 (patch)
tree9deba920075a9aedc2968205dda28ace35e86a9c /source4/smbd
parent2b9c35da12f6892e22253e8beb6a7ec95ba17c58 (diff)
downloadsamba-f5efddb9aebd896df014a011d68aefb314beee22.tar.gz
lib: directory_create_or_exist() does not use "uid" parameter
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@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 6aa984de22a..f9907b261ff 100644
--- a/source4/smbd/service_named_pipe.c
+++ b/source4/smbd/service_named_pipe.c
@@ -200,7 +200,7 @@ NTSTATUS tstream_setup_named_pipe(TALLOC_CTX *mem_ctx,
goto fail;
}
- if (!directory_create_or_exist(lpcfg_ncalrpc_dir(lp_ctx), geteuid(), 0755)) {
+ if (!directory_create_or_exist(lpcfg_ncalrpc_dir(lp_ctx), 0755)) {
status = map_nt_error_from_unix_common(errno);
DEBUG(0,(__location__ ": Failed to create ncalrpc pipe directory '%s' - %s\n",
lpcfg_ncalrpc_dir(lp_ctx), nt_errstr(status)));