diff options
Diffstat (limited to 'source/utils/testparm.c')
-rw-r--r-- | source/utils/testparm.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/utils/testparm.c b/source/utils/testparm.c index 34a0a7c71ed..9502ec9669d 100644 --- a/source/utils/testparm.c +++ b/source/utils/testparm.c @@ -36,7 +36,6 @@ #include "smb.h" extern BOOL AllowDebugChange; -extern int parsed_debuglevel_class[DBGC_LAST]; /* these live in util.c */ extern FILE *dbf; @@ -152,15 +151,6 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ ret = 1; } - if (strlen(lp_winbind_separator()) != 1) { - printf("ERROR: the 'winbind separator' parameter must be a single character.\n"); - ret = 1; - } - - if (*lp_winbind_separator() == '+') { - printf("'winbind separator = +' might cause problems with group membership.\n"); - } - return ret; } @@ -291,8 +281,7 @@ Level II oplocks can only be set if oplocks are also set.\n", fflush(stdout); getc(stdin); } - memcpy(DEBUGLEVEL_CLASS,parsed_debuglevel_class,sizeof(parsed_debuglevel_class)); - lp_dump(stdout,True, lp_numservices(), _dos_to_unix_static); + lp_dump(stdout,True, lp_numservices(), _dos_to_unix); } if (argc >= 3) { |