From 6a304256d00e225872a06d1ec10152629352f41c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 21 Oct 2004 08:52:01 +0000 Subject: r3110: Fix the krb5 client and server, so that it doesn't segfault. There were also gensec bugs that didn't turn up until we hit error paths in the krb5 code. Andrew Bartlett (This used to be commit e08366ffeb52e8c522d3808a2af1aa0bc632b55f) --- source4/smbd/rewrite.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/smbd') diff --git a/source4/smbd/rewrite.c b/source4/smbd/rewrite.c index 03542bf4e9..035532a01f 100644 --- a/source4/smbd/rewrite.c +++ b/source4/smbd/rewrite.c @@ -46,6 +46,14 @@ void smbd_process_init(void) void init_subsystems(void) { + /* Do *not* remove this, until you have removed + * passdb/secrets.c, and proved that Samba still builds... */ + + /* Setup the SECRETS subsystem */ + if (!secrets_init()) { + exit(1); + } + /* Setup the PROCESS_MODEL subsystem */ if (!process_model_init()) exit(1); -- cgit