s3:loadparm: set the default "idmap config * : backend" in initialize_globals().
authorMichael Adam <obnox@samba.org>
Thu, 10 Mar 2011 22:40:19 +0000 (23:40 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 22 Mar 2011 21:49:58 +0000 (22:49 +0100)
source3/param/loadparm.c

index 1a8754918b8cd26ae8202ca83795d93be834a32c..a82d21cdb1a8a5d91a3b278e43e84a3a1560326b 100644 (file)
@@ -9459,6 +9459,8 @@ static bool lp_load_ex(const char *pszFname,
 
        free_param_opts(&Globals.param_opt);
 
+       lp_do_parameter(-1, "idmap config * : backend", Globals.szIdmapBackend);
+
        /* We get sections first, so have to start 'behind' to make up */
        iServiceIndex = -1;