summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-05-27 12:06:24 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:05 +0200
commit9fa72399073731aba54dfe70c35677b3c2960589 (patch)
treed7cb5898f5e42aaa9cfc1eb27fbaca71807d9120 /source3/winbindd/winbindd.c
parent30d25210a97403c083f7f8babe2eaa4d4cdfc1ad (diff)
downloadsamba-9fa72399073731aba54dfe70c35677b3c2960589.tar.gz
samba-9fa72399073731aba54dfe70c35677b3c2960589.tar.xz
samba-9fa72399073731aba54dfe70c35677b3c2960589.zip
s3-winbind: Initialize the server_info on winbindd start.
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r--source3/winbindd/winbindd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index cdbf2d62ca..25d4e1d3d4 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -1289,6 +1289,11 @@ int main(int argc, char **argv, char **envp)
winbindd_register_handlers();
+ if (!init_system_info()) {
+ DEBUG(0,("ERROR: failed to setup system user info.\n"));
+ exit(1);
+ }
+
/* setup listen sockets */
if (!winbindd_setup_listeners()) {