From 9b41ada7c8f5eb77a1acf0eaf29a7d6f8cbaea36 Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Tue, 12 Aug 1997 23:02:45 +0000 Subject: charset.c: Fixed bug with 'valid chars' param. loadparm.c: Fixed bug with 'valid chars' param. nameelect.c:Unregister the 1b name from the WINS server when unbecoming master. nameservresp.c: Fix nasty browse bug where we were sending the query to the wrong ip address. Jeremy (jallison@whistle.com) (This used to be commit 927d1875f0c09fe7b2e1c1bc4b1af2c0b8de0f7c) --- source3/param/loadparm.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/param/loadparm.c') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index df4d72cf20..8c048ad079 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1500,6 +1500,12 @@ static BOOL handle_valid_chars(char *pszParmValue,char **ptr) { string_set(ptr,pszParmValue); + /* A dependency here is that the parameter client code page must be + set before this is called - as calling codepage_initialise() + would overwrite the valid char lines. + */ + codepage_initialise(lp_client_code_page()); + add_char_string(pszParmValue); return(True); } -- cgit