diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-04-11 02:20:56 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-04-11 02:20:56 +0000 |
commit | 9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6 (patch) | |
tree | de86987bf008f56bc1e4130add688bce45d11cf9 /source3/param/loadparm.c | |
parent | d3fa6d5de64f022eafd99b83d4853c86f8b2f46c (diff) | |
download | samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.tar.gz samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.tar.xz samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.zip |
This split the mangling code up to allow for the possibility of multiple
mangling implementation, selectable using "mangling method = " in smb.conf
It also tidies the interface a little, although it is still nasty.
(This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 11c8f2c44b..bdd710f5fe 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -161,6 +161,7 @@ typedef struct char *szChangeShareCommand; char *szDeleteShareCommand; char *szGuestaccount; + char *szManglingMethod; int max_log_size; int mangled_stack; int max_xmit; @@ -911,6 +912,7 @@ static struct parm_struct parm_table[] = { {"Filename Handling", P_SEP, P_SEPARATOR}, {"strip dot", P_BOOL, P_GLOBAL, &Globals.bStripDot, NULL, NULL, 0}, + {"mangling method", P_STRING, P_GLOBAL, &Globals.szManglingMethod, NULL, NULL, 0}, {"mangled stack", P_INTEGER, P_GLOBAL, &Globals.mangled_stack, NULL, NULL, 0}, {"default case", P_ENUM, P_LOCAL, &sDefault.iDefaultCase, NULL, enum_case, FLAG_SHARE}, @@ -1519,6 +1521,7 @@ FN_GLOBAL_STRING(lp_addprinter_cmd, &Globals.szAddPrinterCommand) FN_GLOBAL_STRING(lp_deleteprinter_cmd, &Globals.szDeletePrinterCommand) FN_GLOBAL_STRING(lp_os2_driver_map, &Globals.szOs2DriverMap) FN_GLOBAL_STRING(lp_lockdir, &Globals.szLockDir) +FN_GLOBAL_STRING(lp_mangling_method, &Globals.szManglingMethod) #ifdef WITH_UTMP FN_GLOBAL_STRING(lp_utmpdir, &Globals.szUtmpDir) FN_GLOBAL_STRING(lp_wtmpdir, &Globals.szWtmpDir) |