*/
#include "includes.h"
+#include "smbd/smbd.h"
#include "smbd/globals.h"
#include "mangle.h"
if (mangle_fns)
return;
- method = lp_mangling_method();
+ method = lp_mangling_method(talloc_tos());
/* find the first mangling method that manages to initialise and
matches the "mangling method" parameter */
bool mangle_must_mangle(const char *fname,
const struct share_params *p)
{
- if (!lp_manglednames(p)) {
+ if (!lp_mangled_names(p)) {
return False;
}
return mangle_fns->must_mangle(fname, p);
/* name mangling can be disabled for speed, in which case
we just truncate the string */
- if (!lp_manglednames(p)) {
+ if (!lp_mangled_names(p)) {
strlcpy(out, in, 13);
return True;
}
return mangle_fns->name_to_8_3(in,
out,
cache83,
- lp_defaultcase(p->service),
+ lp_default_case(p->service),
p);
}