|
|
|
@ -37,7 +37,8 @@ if (!$intranet){ |
|
|
|
|
WriteGroups => 'admins,equipe', |
|
|
|
|
smbAccess => 'browseable', |
|
|
|
|
httpAccess => 'none', |
|
|
|
|
RecycleBin => 'disabled' |
|
|
|
|
RecycleBin => 'disabled', |
|
|
|
|
Removable => 'no' |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
unless ( system("/sbin/e-smith/signal-event", "share-create", "intranet") == 0 ){ |
|
|
|
@ -58,7 +59,8 @@ if (!$extranet){ |
|
|
|
|
RequireSSL => 'disabled', |
|
|
|
|
Indexes => 'enabled', |
|
|
|
|
DynamicContent => 'disabled', |
|
|
|
|
RecycleBin => 'disabled' |
|
|
|
|
RecycleBin => 'disabled', |
|
|
|
|
Removable => 'no' |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
unless ( system("/sbin/e-smith/signal-event", "share-create", "extranet") == 0 ){ |
|
|
|
@ -80,7 +82,8 @@ if (!$tools){ |
|
|
|
|
RequireSSL => 'disabled', |
|
|
|
|
Indexes => 'enabled', |
|
|
|
|
DynamicContent => 'disabled', |
|
|
|
|
RecycleBin => 'disabled' |
|
|
|
|
RecycleBin => 'disabled', |
|
|
|
|
Removable => 'no' |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
unless ( system("/sbin/e-smith/signal-event", "share-create", "tools") == 0 ){ |
|
|
|
|