parent
a472a57ff5
commit
a666e8e838
@ -0,0 +1 @@
|
|||||||
|
{% calculate append = 'skip' %}
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate path='/etc', package='net-fs/samba' %}
|
@ -0,0 +1,3 @@
|
|||||||
|
{% calculate format='openrc', path='/etc/conf.d', pkg('sys-apps/calculate-server') %}
|
||||||
|
|
||||||
|
daemon_list="smbd nmbd winbind"
|
@ -0,0 +1 @@
|
|||||||
|
{% calculate format='raw', (not exists('/etc/samba/smb.conf')) %}
|
@ -0,0 +1,9 @@
|
|||||||
|
{% calculate name='smb.conf', format='samba', pkg('kde-apps/kio-extras') or pkg('gnome-base/gvfs') %}
|
||||||
|
|
||||||
|
[global]
|
||||||
|
{% if not grep('/etc/samba/smb.conf', 'client max protocol') %}
|
||||||
|
client max protocol = NT1
|
||||||
|
{% endif %}
|
||||||
|
{% if not grep('/etc/samba/smb.conf', 'client min protocol') %}
|
||||||
|
client min protocol = NT1
|
||||||
|
{% endif %}
|
Loading…
Reference in new issue