diff --git a/plinth/modules/samba/__init__.py b/plinth/modules/samba/__init__.py index f81cd5d88..da213d0b1 100644 --- a/plinth/modules/samba/__init__.py +++ b/plinth/modules/samba/__init__.py @@ -41,7 +41,7 @@ class SambaApp(app_module.App): app_id = 'samba' - _version = 3 + _version = 4 def __init__(self) -> None: """Create components for the app.""" diff --git a/plinth/modules/samba/privileged.py b/plinth/modules/samba/privileged.py index cb10482b4..c29e2f6cf 100644 --- a/plinth/modules/samba/privileged.py +++ b/plinth/modules/samba/privileged.py @@ -45,8 +45,7 @@ CONF = r''' # https://en.wikipedia.org/wiki/Private_network # https://en.wikipedia.org/wiki/Link-local_address # https://en.wikipedia.org/wiki/Unique_local_address - access control = yes - hosts allow = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 169.254.0.0/16 [::1] [fc00::]/7 [fe80::] + hosts allow = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 169.254.0.0/16 ::1 hosts deny = all ''' # noqa: E501