summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 6e0bf3375e..41924d4631 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -838,7 +838,7 @@ BOOL lookup_pdc_name(const char *srcname, const char *domain, struct in_addr *pd
int len;
struct sockaddr_in sock_name;
int sock_len = sizeof(sock_name);
- const char *mailslot = "\\MAILSLOT\\NET\\NETLOGON";
+ const char *mailslot = NET_LOGON_MAILSLOT;
char *mailslot_name;
char buffer[1024];
char *bufp;