diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-04-23 01:21:42 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-04-23 01:21:42 +0000 |
commit | 97a9832541dc7405798590497e230fef243ac741 (patch) | |
tree | 29f92d77b226566ef6d05e9e12b5b63b432ff713 /source3/lib | |
parent | 0e26a6d3f5fc7616ca5caacf3ed39c8c40091c99 (diff) | |
download | samba-97a9832541dc7405798590497e230fef243ac741.tar.gz samba-97a9832541dc7405798590497e230fef243ac741.tar.bz2 samba-97a9832541dc7405798590497e230fef243ac741.zip |
Try to avoid setting *SMBSERVER as a 'local name'.
Andrew Bartlett
(This used to be commit 5b5e167bb1a760a4f9c603feea886ce1dab52e19)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/substitute.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |