[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-1563-g487c43f

Michael Adam obnox at samba.org
Sun Jan 20 02:58:29 GMT 2008


The branch, v3-2-test has been updated
       via  487c43f9284598a3c60b06fc60e5c50844e11b87 (commit)
      from  239aa59cc1b78f7fb82aa66418cdf92517ebc123 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 487c43f9284598a3c60b06fc60e5c50844e11b87
Author: Michael Adam <obnox at samba.org>
Date:   Fri Jan 18 16:06:37 2008 +0100

    Do an explicit init_globals() when restarting for "config backend = registry".
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/param/loadparm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 0d3fbbf..0796a78 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -5725,6 +5725,7 @@ bool lp_load(const char *pszFname,
 			 */
 			config_backend = CONFIG_BACKEND_REGISTRY;
 			/* start over */
+			init_globals(false);
 			return lp_load(pszFname, global_only, save_defaults,
 				       add_ipc, initialize_globals);
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list