git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33189b4
)
Try to avoid setting *SMBSERVER as a 'local name'.
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 23 Apr 2003 01:21:42 +0000
(
01:21
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 23 Apr 2003 01:21:42 +0000
(
01:21
+0000)
Andrew Bartlett
source/lib/substitute.c
patch
|
blob
|
history
diff --git
a/source/lib/substitute.c
b/source/lib/substitute.c
index ef68bce9852e6533a3974fbff0d19f99087785d1..306d4872a2e81832edadbec3900881c343ff8009 100644
(file)
--- a/
source/lib/substitute.c
+++ b/
source/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;