diff options
author | Andreas Schneider <asn@samba.org> | 2013-01-08 14:21:23 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-01-09 09:11:20 +0100 |
commit | 1aa0503401d41fec48d4d4e30d8bbcbd847ff807 (patch) | |
tree | 6bd90a1f53bb28aad3f00a7e99cb6ef8abc1723f /source4/smbd | |
parent | 6039388fc1f3671bb60db06211814f7edfc62285 (diff) | |
download | samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.tar.gz samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.tar.bz2 samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.zip |
Use the new directory_create_or_exist_strict() function.
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/service_named_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/service_named_pipe.c b/source4/smbd/service_named_pipe.c index b000083eec..6aa984de22 100644 --- a/source4/smbd/service_named_pipe.c +++ b/source4/smbd/service_named_pipe.c @@ -212,7 +212,7 @@ NTSTATUS tstream_setup_named_pipe(TALLOC_CTX *mem_ctx, goto fail; } - if (!directory_create_or_exist(dirname, geteuid(), 0700)) { + if (!directory_create_or_exist_strict(dirname, geteuid(), 0700)) { status = map_nt_error_from_unix_common(errno); DEBUG(0,(__location__ ": Failed to create stream pipe directory '%s' - %s\n", dirname, nt_errstr(status))); |