_(Please note that AFP is **deprecated**, please use SMB instead)_.
-
-
-
-:help82
-> ### Overview
-> AFP for Unraid includes both `netatalk` to implement Apple Filing Protocol, and `avahi`
-> to implement Zeroconf, aka, Bonjour.
->
-> As with SMB and NFS, you may export both disk shares and user shares via AFP. There are some important
-> limitations to be aware of however:
->
-> * You must be very careful when enabling AFP export of a disk share when that disk is also enabled
-> for user shares. This is because `netatalk` creates several system directories in the root of shares,
-> and these directories will show up as user shares. To prevent this, you may exclude the disk(s)
-> from the user share file system on the [Share Settings](/Settings/ShareSettings) page.
->
-> * The netatalk documentation includes a strong warning to not use symlinks anywhere in a file system
-> being exprted via AFP.
->
-> AFP for Unraid supports Time Machine, and all three security modes.
->
-> ### Bonjour
-> When AFP is enabled, your server name, with a `-AFP` suffix, should automatically appear in the left-hand pane of
-> Finder alongside an Xserve icon. Clicking this icon permits you to explore the server shares using AFP protocol.
->
-> In addition, if SMB is enabled, your server name, without any suffix, should also appear. This provides
-> access to shares using the SMB protocol.
->
-> ### Other notes
-> [Prevent .DS_Store file creation on network volumes](http://hints.macworld.com/article.php?story=2005070300463515) - from the article:
->
-> To prevent the creation of these files, open the Terminal and type:
->
-> defaults write com.apple.desktopservices DSDontWriteNetworkStores true
->
-> It may be necessary to log out and back in, or even to restart the computer for the change to take effect
-> (this is what the article states).
-:end
\ No newline at end of file
diff --git a/plugins/dynamix/DashStats.page b/plugins/dynamix/DashStats.page
index 3cb4d30b1..7e9626d84 100644
--- a/plugins/dynamix/DashStats.page
+++ b/plugins/dynamix/DashStats.page
@@ -100,7 +100,7 @@ $wg_up = $wg_up ? explode(' ',$wg_up) : [];
$up = count($wg_up);
$down = max(count($conf)-$up,0);
$fans = exec("sensors -uA 2>/dev/null|grep -c 'fan[0-9]_input'");
-$group = $var['shareSMBEnabled']=='yes' | $var['shareAFPEnabled']=='yes' | $var['shareNFSEnabled']=='yes';
+$group = $var['shareSMBEnabled']=='yes' | $var['shareNFSEnabled']=='yes';
$url = "/webGui/include/DashUpdate.php";
$names = [];
@@ -393,9 +393,6 @@ foreach ($ports as $port) {
=mk_option("", "0", "SMB")?>
-
-=mk_option("", "1", "AFP")?>
-
=mk_option("", "2", "NFS")?>
@@ -419,19 +416,6 @@ foreach ($shares as $name => $share) {
if (!count($shares)) echo "
";
-?>
-
foreach ($shares as $name => $share) {
@@ -492,38 +476,6 @@ foreach ($users as $user) {
}
?>
-
-
-foreach ($users as $user) {
- $name = $user['name'];
- $list = "".truncate($name,20)."";
- $desc = truncate($user['desc'],40);
- if ($name=='root') {
- $write = '-'; $read = '-';
- } else {
- $write = 0; $read = 0;
- foreach ($shares as $share) {
- $access = $sec_afp[$share['name']];
- if ($access['export']=='-') continue;
- switch ($access['security']) {
- case 'public':
- $write++;
- break;
- case 'secure':
- if (in_array($name,explode(',',$access['writeList']))) $write++; else $read++;
- break;
- case 'private':
- if (in_array($name,explode(',',$access['writeList']))) $write++;
- if (in_array($name,explode(',',$access['readList']))) $read++;
- break;
- }
- }
- }
- if ($user['passwd']!='yes') $list = str_replace('blue-text','orange-text',$list);
- echo "
$list
$desc
$write
$read
";
-}
-?>
-
foreach ($users as $user) {
@@ -673,10 +625,6 @@ function changeMode(item) {
if (item==0 && user==null) $('.smb.user1').show(); else $('.smb.user1').hide();
if (item==0 && share==null) $('.smb.share1').show(); else $('.smb.share1').hide();
-
- if (item==1 && user==null) $('.afp.user2').show(); else $('.afp.user2').hide();
- if (item==1 && share==null) $('.afp.share2').show(); else $('.afp.share2').hide();
-
if (item==2 && user==null) $('.nfs.user3').show(); else $('.nfs.user3').hide();
if (item==2 && share==null) $('.nfs.share3').show(); else $('.nfs.share3').hide();
@@ -774,7 +722,7 @@ function update5() {
}
function update15() {
- var tag = $('.smb').is(':visible') ? 'smb' : $('.afp').is(':visible') ? 'afp' : $('.nfs').is(':visible') ? 'nfs' : '';
+ var tag = $('.smb').is(':visible') ? 'smb' : $('.nfs').is(':visible') ? 'nfs' : '';
$.post('=$url?>',{cmd:'shares',com:tag,names:'=addslashes(htmlspecialchars($names))?>'},function(data) {
$.each(data.split('\0'),function(k,v) {$('#share'+(k+1)).html(v);});
});
diff --git a/plugins/dynamix/DiskList.page b/plugins/dynamix/DiskList.page
index 17d2584d1..778a6f010 100644
--- a/plugins/dynamix/DiskList.page
+++ b/plugins/dynamix/DiskList.page
@@ -34,7 +34,7 @@ $(function() {
-
_(Name)_
_(Comment)_
_(SMB)_
_(NFS)_
_(AFP)_
_(Type)_
_(Size)_
_(Free)_
_(View)_
+
_(Name)_
_(Comment)_
_(SMB)_
_(NFS)_
_(Type)_
_(Size)_
_(Free)_
_(View)_
@@ -56,6 +56,5 @@ $(function() {
> **Special modes:**
> + SMB security mode displayed in *italics* indicates exported hidden disk shares.
-> + AFP security mode displayed in *italics* indicates exported time-machine disk shares.
> + NFS does not have special modes for disk shares.
:end
diff --git a/plugins/dynamix/SecurityAFP.page b/plugins/dynamix/SecurityAFP.page
deleted file mode 100644
index 410e84782..000000000
--- a/plugins/dynamix/SecurityAFP.page
+++ /dev/null
@@ -1,364 +0,0 @@
-Menu="Disk Share"
-Title="AFP Security Settings"
-Tag="apple"
-Cond="(($var['shareAFPEnabled']!='no') && (isset($name)?array_key_exists($name,$sec_afp):0))"
----
-
-
-require_once "$docroot/webGui/include/InputSecurity.php";
-
-$width = [123,300];
-?>
-:help22
-> This section is used to configure the security settings for the share when accessed using AFP and
-> appears only when AFP is enabled on the Network Services page.
->
-> *Read settings from* is used to preset the AFP security settings of the current selected share with the settings of an existing share.
->
-> Select the desired share name and press **Read** to copy the AFP security settings from the selected source.
->
-> *Write settings to* is used to copy the AFP security settings of the current selected share to one or more other existing shares.
->
-> Select the desired destinations and press **Write** to copy the AFP security settings to the selected shares.
-:end
-
-
-_(Read settings from)_
-
-
-
-_(Write settings to)_
-
-
-
-
-
-
-
_(AFP)_ _(User Access)_
_(Guests have **read-only** access)_.
-
-:help27
-> *Read settings from* is used to preset the AFP User Access settings of the current selected share with the settings of an existing share.
->
-> Select the desired share name and press **Read** to copy the AFP security settings from the selected source.
->
-> *Write settings to* is used to copy the AFP User Access settings of the current share to one or more other existing shares.
->
-> Select the desired destinations and press **Write** to copy the AFP User access settings to the selected shares.
-:end
-
-
-_(Read settings from)_
-
-
-
-_(Write settings to)_
-
-
-
-
-
-
-
_(AFP)_ _(User Access)_
_(Guests have **no** access)_.
-
-:help28
-> *Read settings from* is used to preset the AFP User Access settings of the current selected share with the settings of an existing share.
->
-> Select the desired share name and press **Read** to copy the AFP security settings from the selected source.
->
-> *Write settings to* is used to copy the AFP User Access settings of the current share to one or more other existing shares.
->
-> Select the desired destinations and press **Write** to copy the AFP User access settings to the selected shares.
-:end
-
-