summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbwrapper/smbw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 38dd3c02c8..95739bac5a 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -82,6 +82,8 @@ void smbw_init(void)
lp_load(servicesf,True,False,False);
+ charset_initialise();
+
get_myname(global_myname);
if ((p=smbw_getshared("DEBUG"))) {