summaryrefslogtreecommitdiff
path: root/libgpo/gpo_fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgpo/gpo_fetch.c')
-rw-r--r--libgpo/gpo_fetch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgpo/gpo_fetch.c b/libgpo/gpo_fetch.c
index 40f8c5870d..cae11d5c0d 100644
--- a/libgpo/gpo_fetch.c
+++ b/libgpo/gpo_fetch.c
@@ -34,6 +34,7 @@
#include "lib/util/util.h"
#else
#include "libgpo/gpo_proto.h"
+#include "libsmb/libsmb.h"
#endif
/****************************************************************
@@ -142,7 +143,7 @@ static NTSTATUS gpo_connect_server(ADS_STRUCT *ads, struct loadparm_context *lp_
result = cli_full_connection(&cli,
- global_myname(),
+ lp_netbios_name(),
server,
NULL, 0,
service, "A:",