From 97a9832541dc7405798590497e230fef243ac741 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 23 Apr 2003 01:21:42 +0000 Subject: Try to avoid setting *SMBSERVER as a 'local name'. Andrew Bartlett (This used to be commit 5b5e167bb1a760a4f9c603feea886ce1dab52e19) --- source3/lib/substitute.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index ef68bce985..306d4872a2 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -40,6 +40,9 @@ void set_local_machine_name(const char* local_name, BOOL perm) static BOOL already_perm = False; fstring tmp_local_machine; + if (strcmp(local_name, "*SMBSERVER")==0) + return; + if (already_perm) return; -- cgit