summaryrefslogtreecommitdiff
path: root/source4/lib/replace.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace.c')
-rw-r--r--source4/lib/replace.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/replace.c b/source4/lib/replace.c
index cda379c63f..63e6a71149 100644
--- a/source4/lib/replace.c
+++ b/source4/lib/replace.c
@@ -465,3 +465,8 @@ char *rep_inet_ntoa(struct in_addr ip)
return ret;
}
#endif
+
+const char *global_myname(void)
+{
+ return lp_netbios_name();
+}