summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-10-21 08:52:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:22 -0500
commit6a304256d00e225872a06d1ec10152629352f41c (patch)
treea02b0f4aacd79f2f530672d497210d95676860b5 /source4/smbd
parent1d990b526ea2844263a40c734b7d7aaabcb26822 (diff)
downloadsamba-6a304256d00e225872a06d1ec10152629352f41c.tar.gz
samba-6a304256d00e225872a06d1ec10152629352f41c.tar.bz2
samba-6a304256d00e225872a06d1ec10152629352f41c.zip
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)
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/rewrite.c8
1 files changed, 8 insertions, 0 deletions
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);