summaryrefslogtreecommitdiffstats
path: root/source/libcli/dgram
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-04-08 08:57:09 +0000
committerAndrew Tridgell <tridge@samba.org>2005-04-08 08:57:09 +0000
commitf411cced2a1a9b3cff1a9aea4e270c7ad45977ca (patch)
tree3cd99ca942e3f05ad4da943b241c5ec50d5c633b /source/libcli/dgram
parent711f054018a1afd3b82f1bda46f761117013f05e (diff)
downloadsamba-f411cced2a1a9b3cff1a9aea4e270c7ad45977ca.tar.gz
samba-f411cced2a1a9b3cff1a9aea4e270c7ad45977ca.tar.xz
samba-f411cced2a1a9b3cff1a9aea4e270c7ad45977ca.zip
r6247: added the server side code for receiving mailslot requests, and
parsing incoming netlogon requests. No replies are sent yet.
Diffstat (limited to 'source/libcli/dgram')
-rw-r--r--source/libcli/dgram/dgramsocket.c2
-rw-r--r--source/libcli/dgram/netlogon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/libcli/dgram/dgramsocket.c b/source/libcli/dgram/dgramsocket.c
index 33734258a37..a3909df7686 100644
--- a/source/libcli/dgram/dgramsocket.c
+++ b/source/libcli/dgram/dgramsocket.c
@@ -59,7 +59,7 @@ static void dgm_socket_recv(struct nbt_dgram_socket *dgmsock)
talloc_steal(tmp_ctx, src_addr);
blob.length = nread;
- DEBUG(0,("Received dgram packet of length %d from %s:%d\n",
+ DEBUG(2,("Received dgram packet of length %d from %s:%d\n",
blob.length, src_addr, src_port));
packet = talloc(tmp_ctx, struct nbt_dgram_packet);
diff --git a/source/libcli/dgram/netlogon.c b/source/libcli/dgram/netlogon.c
index c76264eea4d..a0218e2cb5e 100644
--- a/source/libcli/dgram/netlogon.c
+++ b/source/libcli/dgram/netlogon.c
@@ -50,7 +50,7 @@ NTSTATUS dgram_mailslot_netlogon_send(struct nbt_dgram_socket *dgmsock,
status = dgram_mailslot_send(dgmsock, DGRAM_DIRECT_UNIQUE,
- "\\MAILSLOT\\NET\\NETLOGON",
+ NBT_MAILSLOT_NETLOGON,
dest_name, dest_address, src_name, &blob);
talloc_free(tmp_ctx);
return status;