diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-08 10:28:03 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-08 10:56:28 +0200 |
commit | f946668b7ad1ecc1990fa8ee0499c63c4aac6ea6 (patch) | |
tree | 38a8000c9b323352444619101a27278a7b0e6798 /source4/smbd | |
parent | 8b2ba64d603dd1ef1afde621f594dc46f2133708 (diff) | |
download | samba-f946668b7ad1ecc1990fa8ee0499c63c4aac6ea6.tar.gz samba-f946668b7ad1ecc1990fa8ee0499c63c4aac6ea6.tar.bz2 samba-f946668b7ad1ecc1990fa8ee0499c63c4aac6ea6.zip |
Improve debug messages when creating socket directories
This makes clear what the permissions error and directory name actually is
Andrew Bartlett
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 086a037b69..fc221c1c7e 100644 --- a/source4/smbd/service_named_pipe.c +++ b/source4/smbd/service_named_pipe.c @@ -207,7 +207,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); - DEBUG(0,(__location__ ": Failed to create stream pipe directory %s - %s\n", + DEBUG(0,(__location__ ": Failed to create stream pipe directory '%s' - %s\n", dirname, nt_errstr(status))); goto fail; } |