Merge branch 'master' of git://git.samba.org/samba
[kai/samba.git] / source4 / smbd / service_named_pipe.c
index 940edf2cb5c4b921461e35f4a072d94fe0d734bb..93ae60d69adf5fe64cb4b7280ee30183308c1387 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "includes.h"
 #include <tevent.h>
-#include "lib/socket/socket.h"
 #include "smbd/service.h"
 #include "param/param.h"
 #include "auth/session.h"
@@ -32,7 +31,6 @@
 #include "libcli/raw/smb.h"
 #include "auth/credentials/credentials.h"
 #include "auth/credentials/credentials_krb5.h"
-#include <gssapi/gssapi.h>
 
 struct named_pipe_socket {
        const char *pipe_name;
@@ -477,6 +475,8 @@ NTSTATUS stream_setup_named_pipe(struct tevent_context *event_context,
 
        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",
+                        dirname, nt_errstr(status)));
                goto fail;
        }