Skip to content

Allow customization of [homes] section in Samba #7717

@mrmarkuz

Description

@mrmarkuz

Manual configuration of the [homes] section should be possible to for example add a recycle bin for home shares.
The [homes] section currently cannot be manually configured by customizing the include.conf file because the [homes] section in smb.conf is parsed after the include = include.conf line, so a customized [homes] section always gets overridden. smb.conf works like the last entry is valid.

Proposed solution

Move the [homes] section on top of smb.conf so customizations in include.conf are respected.
This way we keep it simple as just the already existing customization file is needed and there's no need to add another one and document it.

Alternative solutions

Use another new customization file include_homes.conf for customizing the [homes] section.

See also

https://community.nethserver.org/t/recycle-bin-for-samba-home-shares/26533


Thanks to saitobenkei for proposing the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions