summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-04-08 08:57:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:28 -0500
commitb0ca8ed4559efae38933f49a638e7b51ae8bf0c8 (patch)
treefa82e983cbc010caf5af97315d7cdb99c482f367 /source4/libcli
parent866c62f26d110439c8d5cb584f60d24564d6a79c (diff)
downloadsamba-b0ca8ed4559efae38933f49a638e7b51ae8bf0c8.tar.gz
samba-b0ca8ed4559efae38933f49a638e7b51ae8bf0c8.tar.bz2
samba-b0ca8ed4559efae38933f49a638e7b51ae8bf0c8.zip
r6247: added the server side code for receiving mailslot requests, and
parsing incoming netlogon requests. No replies are sent yet. (This used to be commit 3b34df6a674cd2aeddc354cdadae3f0e1c000d45)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/dgram/dgramsocket.c2
-rw-r--r--source4/libcli/dgram/netlogon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/dgram/dgramsocket.c b/source4/libcli/dgram/dgramsocket.c
index 33734258a3..a3909df768 100644
--- a/source4/libcli/dgram/dgramsocket.c
+++ b/source4/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/source4/libcli/dgram/netlogon.c b/source4/libcli/dgram/netlogon.c
index c76264eea4..a0218e2cb5 100644
--- a/source4/libcli/dgram/netlogon.c
+++ b/source4/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;