summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-10-15 17:58:39 +0200
committerAndreas Schneider <asn@samba.org>2010-10-18 12:43:16 +0000
commitb615b7060188bbc33a8e8b38b2b2b14b239dc735 (patch)
tree7d8688f8214d7e1382016a8e69345d2fdb76345a /source3
parentabeef470c4f233762950d0bf8d60760a7f8578a9 (diff)
downloadsamba-b615b7060188bbc33a8e8b38b2b2b14b239dc735.tar.gz
samba-b615b7060188bbc33a8e8b38b2b2b14b239dc735.tar.bz2
samba-b615b7060188bbc33a8e8b38b2b2b14b239dc735.zip
s3-winbind: Fixed init order.
We need the system server info in the rpc services. Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Mon Oct 18 12:43:16 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index d2344fd696..b8a9e16075 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -1298,14 +1298,14 @@ int main(int argc, char **argv, char **envp)
winbindd_register_handlers();
- rpc_lsarpc_init(NULL);
- rpc_samr_init(NULL);
-
if (!init_system_info()) {
DEBUG(0,("ERROR: failed to setup system user info.\n"));
exit(1);
}
+ rpc_lsarpc_init(NULL);
+ rpc_samr_init(NULL);
+
/* setup listen sockets */
if (!winbindd_setup_listeners()) {