summaryrefslogtreecommitdiff
path: root/source/client/smbspool.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/client/smbspool.c')
-rw-r--r--source/client/smbspool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/client/smbspool.c b/source/client/smbspool.c
index af2f7e9180c..e5cd4f2e8e6 100644
--- a/source/client/smbspool.c
+++ b/source/client/smbspool.c
@@ -23,7 +23,6 @@
#include "includes.h"
-#define PW_MAX_BUF_SIZE sysconf(_SC_GETPW_R_SIZE_MAX)
#define TICKET_CC_DIR "/tmp"
#define CC_PREFIX "krb5cc_" /* prefix of the ticket cache */
#define CC_MAX_FILE_LEN 24
@@ -214,6 +213,8 @@ static int smb_print(struct cli_state *, char *, FILE *);
in_client = True; /* Make sure that we tell lp_load we are */
+ load_case_tables();
+
if (!lp_load(dyn_CONFIGFILE, True, False, False, True))
{
fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE);