The lp_parm_xxx() functions seem to only retrieve global parameters ...

Jeremy Allison jra at
Thu Oct 6 12:19:24 MDT 2011

On Thu, Oct 06, 2011 at 07:35:27AM -0700, Richard Sharpe wrote:
> Hi folks,
> I ran into a small problem with a VFS a while ago that seemed to
> indicate that the lp_parm_xxx() functions only retrieve global
> parameters, at least in 3.5.x versions of Samba.
> Is that correct?

Nope, don't think so. Check out the use in modules/vfs_acl_common.c
where I do:

        bool ignore_file_system_acl = lp_parm_bool(SNUM(handle->conn),
                                                "ignore system acls",

to get a module specific parameter.


More information about the samba-technical mailing list