summaryrefslogtreecommitdiff
path: root/source4/libcli/dgram/ntlogon.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/dgram/ntlogon.c')
-rw-r--r--source4/libcli/dgram/ntlogon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/dgram/ntlogon.c b/source4/libcli/dgram/ntlogon.c
index 5881dcf702..25f767688a 100644
--- a/source4/libcli/dgram/ntlogon.c
+++ b/source4/libcli/dgram/ntlogon.c
@@ -24,6 +24,7 @@
#include "lib/socket/socket.h"
#include "libcli/resolve/resolve.h"
#include "librpc/gen_ndr/ndr_nbt.h"
+#include "param/param.h"
/*
send a ntlogon mailslot request
@@ -77,7 +78,7 @@ NTSTATUS dgram_mailslot_ntlogon_reply(struct nbt_dgram_socket *dgmsock,
return status;
}
- make_nbt_name_client(&myname, lp_netbios_name());
+ make_nbt_name_client(&myname, lp_netbios_name(global_loadparm));
dest = socket_address_from_strings(tmp_ctx,
dgmsock->sock->backend_name,