libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol
[ira/wip.git] / source4 / smbd / service_named_pipe.c
index bcfd5effe4dc038db2556b17a881aca661c3fe0c..b000083eecd148c24134cb970822e5ec49366799 100644 (file)
@@ -201,7 +201,7 @@ NTSTATUS tstream_setup_named_pipe(TALLOC_CTX *mem_ctx,
        }
 
        if (!directory_create_or_exist(lpcfg_ncalrpc_dir(lp_ctx), geteuid(), 0755)) {
-               status = map_nt_error_from_unix(errno);
+               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)));
                goto fail;
@@ -213,7 +213,7 @@ NTSTATUS tstream_setup_named_pipe(TALLOC_CTX *mem_ctx,
        }
 
        if (!directory_create_or_exist(dirname, geteuid(), 0700)) {
-               status = map_nt_error_from_unix(errno);
+               status = map_nt_error_from_unix_common(errno);
                DEBUG(0,(__location__ ": Failed to create stream pipe directory '%s' - %s\n",
                         dirname, nt_errstr(status)));
                goto fail;