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:
d455c9d
)
reload_services needs to be called prior to init_files but after
author
Luke Leighton
<lkcl@samba.org>
Mon, 8 Feb 1999 01:46:46 +0000
(
01:46
+0000)
committer
Luke Leighton
<lkcl@samba.org>
Mon, 8 Feb 1999 01:46:46 +0000
(
01:46
+0000)
get_myname.
source/smbd/server.c
patch
|
blob
|
history
diff --git
a/source/smbd/server.c
b/source/smbd/server.c
index 0b332db0fdf1c195228f6552dfe8481da5a1986b..9b397bcdeb7dc0e429551d4c8c843272529e9971 100644
(file)
--- a/
source/smbd/server.c
+++ b/
source/smbd/server.c
@@
-446,8
+446,6
@@
void exit_server(char *reason)
****************************************************************************/
static void init_structs(void)
{
- get_myname(myhostname,NULL);
-
conn_init();
file_init();
init_rpc_pipe_hnd(); /* for RPC pipes */
@@
-614,11
+612,13
@@
static void usage(char *pname)
exit(1);
}
-
init_structs(
);
-
+
get_myname(myhostname,NULL
);
+
if (!reload_services(False))
return(-1);
+ init_structs();
+
/*
* Set the machine NETBIOS name if not already
* set from the config file.