Pirate Charmers Samba Server

  • By alchemy-charmers-legacy
  • Storage
Channel Revision Published Runs on
latest/stable 3 09 Feb 2022
Ubuntu 18.04 Ubuntu 16.04
juju deploy pirate-charmers-samba-server
Show information

Platform:

Ubuntu
18.04 16.04

Learn about configurations >

  • smb-browsable | boolean

    Default: True

    Shares are browsable by default

  • smb-create-mask | string

    Default: 0660

    The default mask applied to created files

  • smb-custom | string

    Raw configuration provide key=value comma seperated keys semicolon seperated shares

  • smb-dir-mask | string

    Default: 0770

    The default mask applied to created directories

  • smb-force-dir-mask | string

    The folder create mode which is forced on new directories by Samba. This is OR'd with smb-dir-mask by Samba when new files are created to determine the mask.

  • smb-force-group | string

    If configured, the provided group name will be assigned as the local UNIX group name used for any connected user

  • smb-force-mask | string

    If set, forces the create mode for new files created by Samba. This is OR'd with smb-create-mask by Samba when new files are created to determine the mask.

  • smb-force-user | string

    If configured, the provided user name will be assigned as the local UNIX user account used for any connected user

  • smb-guest | boolean

    Default: True

    The configured shares allow guest access by default

  • smb-read-only | boolean

    The configured shares are read only by default

  • smb-shares | string

    Comma separated list of folders to share. Optionally, flags can be set on each share by separating with commas - e.g. /mnt/storage:ro:guest:browsable:write=ubuntu to configure a storage share, that is read only, guest accessible and browsable, and only writable by the ubuntu user.

  • smb-strict-locking | string

    Default: no

    Set strict locking see smb.conf for details. Well-behaved clients always ask for lock checks when it is important. So in the vast majority of cases, strict locking = Auto or strict locking = no is acceptable.

  • smb-users | string

    A comma separated list of users to create in Samba's user database. Passwords will be automatically generated, and will need to be set to something known using the set-passwd action. NOTE: If you remove users, and do not redeploy the juju units, you need to use the remove-user action for each removed user.

  • smb-write-list | string

    If configured, the provided comma separated list of users will be able to write to shares. These users need to exist in the samba user database, which can be configured with the smb-users setting

  • system-additional-groups | string

    Comma separated list of groups to create. User accounts will not be created

  • system-additional-users | string

    Comma separated list of users to create. Groups with the same name will be created.

  • system-gidmap | string

    Ensure the provided groups, comma separated, have the GID specified after '='. e.g. ubuntu=1000,storage=1001

  • system-group-membership | string

    Ensure the users provided, comma separated, are members of the provided groups, colon separated, following '='. e.g. ubuntu=sudo:wheel,storage=storage,sudo

  • system-uidmap | string

    Ensure the provided users, comma separated, have the UID specified after '='. e.g. ubuntu=1000,storage=1001