git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e26a6d
)
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
(This used to be commit
5b5e167bb1a760a4f9c603feea886ce1dab52e19
)
source3/lib/substitute.c
patch
|
blob
|
history
diff --git
a/source3/lib/substitute.c
b/source3/lib/substitute.c
index ef68bce9852e6533a3974fbff0d19f99087785d1..306d4872a2e81832edadbec3900881c343ff8009 100644
(file)
--- 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;