summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-10-02 15:51:08 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-10-04 12:06:29 +0200
commit50de2c9bbbc25074f022b4b2cf9d49f8e9a53e01 (patch)
tree395cca2979cc4701e504efa4be66f054d532cd4d /source3/smbd
parentfb3cf6c24270d22dad8ac9a1c12e8d77c8189f11 (diff)
downloadsamba-50de2c9bbbc25074f022b4b2cf9d49f8e9a53e01.tar.gz
samba-50de2c9bbbc25074f022b4b2cf9d49f8e9a53e01.tar.bz2
samba-50de2c9bbbc25074f022b4b2cf9d49f8e9a53e01.zip
s3fs-smbd: Make sure the registry is set up before we init printing.
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Oct 4 12:06:29 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 90bbb62ef7..7dad13bbe4 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1471,6 +1471,10 @@ extern void build_options(bool screen);
}
}
+ if (!dcesrv_ep_setup(ev_ctx, msg_ctx)) {
+ exit(1);
+ }
+
/* only start other daemons if we are running as a daemon
* -- bad things will happen if smbd is launched via inetd
* and we fork a copy of ourselves here */
@@ -1495,10 +1499,6 @@ extern void build_options(bool screen);
}
}
- if (!dcesrv_ep_setup(ev_ctx, msg_ctx)) {
- exit(1);
- }
-
if (!is_daemon) {
int sock;