Check return code of secrets_init() function.
authorTim Potter <tpot@hp.com>
Sun, 17 Feb 2008 23:21:50 +0000 (10:21 +1100)
committerGünther Deschner <gd@samba.org>
Mon, 18 Feb 2008 09:15:44 +0000 (10:15 +0100)
(This used to be commit 2b1eead269e95142576d0c8c259874324ba83502)

source3/smbd/server.c

index 7116027adfe841502abae99f4d1906d724e789af..7bf11abfbdc3f9be88d9067b558bc7657e5c934b 100644 (file)
@@ -988,7 +988,8 @@ static bool init_structs(void )
 
        init_dptrs();
 
-       secrets_init();
+       if (!secrets_init())
+               return False;
 
        return True;
 }