diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-25 10:21:41 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2004-10-25 10:21:41 +0000 |
commit | ec62fc1248655e4999e3cd478640420f3177dc24 (patch) | |
tree | 7da11c38d74230a281b54b28953e2ac464eb168e /source/librpc/rpc/dcerpc_sock.c | |
parent | c1a901046af475d6585c539818490766c5d233fc (diff) | |
download | samba-ec62fc1248655e4999e3cd478640420f3177dc24.tar.gz samba-ec62fc1248655e4999e3cd478640420f3177dc24.tar.xz samba-ec62fc1248655e4999e3cd478640420f3177dc24.zip |
r3209: - Create directory for ncalrpc with correct mode
- Support binding strings like :
ncacn_np:[sign]
ncacn_np:myhost[seal,sign,endpoint]
again
Diffstat (limited to 'source/librpc/rpc/dcerpc_sock.c')
-rw-r--r-- | source/librpc/rpc/dcerpc_sock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/librpc/rpc/dcerpc_sock.c b/source/librpc/rpc/dcerpc_sock.c index 9ad5c06ad2b..b22ada1d7f2 100644 --- a/source/librpc/rpc/dcerpc_sock.c +++ b/source/librpc/rpc/dcerpc_sock.c @@ -403,6 +403,7 @@ NTSTATUS dcerpc_pipe_open_unix_stream(struct dcerpc_pipe **p, strncpy(sa.sun_path, path, sizeof(sa.sun_path)); if (connect(fd, &sa, sizeof(sa)) < 0) { + DEBUG(0, ("Unable to connect to unix socket %s: %s\n", path, strerror(errno))); return NT_STATUS_BAD_NETWORK_NAME; } @@ -487,6 +488,7 @@ NTSTATUS dcerpc_pipe_open_pipe(struct dcerpc_pipe **p, strncpy(sa.sun_path, full_path, sizeof(sa.sun_path)); if (connect(fd, &sa, sizeof(sa)) < 0) { + DEBUG(0, ("Unable to connect to unix socket %s (%s): %s\n", full_path, identifier, strerror(errno))); return NT_STATUS_BAD_NETWORK_NAME; } |