summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/Makefile.in1
-rw-r--r--source3/winbindd/winbindd.c5
-rw-r--r--source3/wscript_build1
3 files changed, 7 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index e8131975c3..fa99ac6d10 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1255,6 +1255,7 @@ WINBINDD_OBJ1 = \
winbindd/winbindd_pam_chauthtok.o \
winbindd/winbindd_pam_chng_pswd_auth_crap.o \
winbindd/winbindd_pam_logoff.o \
+ auth/auth_util.o \
auth/token_util.o \
auth/check_samsec.o \
auth/server_info.o \
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()) {
diff --git a/source3/wscript_build b/source3/wscript_build
index b8d32d37b0..12022b9e00 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -640,6 +640,7 @@ WINBINDD_SRC1 = '''winbindd/winbindd.c
winbindd/winbindd_pam_chauthtok.c
winbindd/winbindd_pam_auth_crap.c
winbindd/winbindd_pam_chng_pswd_auth_crap.c
+ auth/auth_util.c
auth/token_util.c
auth/check_samsec.c
auth/server_info.c