FAQ

From Netatalk Wiki
Jump to: navigation, search
(How does Netatalk integrate with Samba?)
Line 45: Line 45:
  
 
== How does Netatalk integrate with Samba? ==
 
== How does Netatalk integrate with Samba? ==
 +
It depends. There are a couple of problems:
 +
 +
* Filename/foldername encoding: By default both Netatalk 2.0 and Samba 3.0 use UTF-8 precomposed on the server side. So at a first look, this problem is solved.
 +
* "Illegal" names, that make Windows choke, are still a problem. There exists an [http://netatalk.sourceforge.net/2.0/htmldocs/AppleVolumes.default.5.html AppleVolumes] option called "mswindows", which will prevent Mac clients from saving such names. But this leads to Netatalk's afpd breaking the AFP specifications and is no real solution (like a working Samba VFS module, that mangles such names on demand in a sane way, would be). Additionally, this option breaks saving to Netatalk volumes for several applications, i.e. OfficeX.
 +
* Hiding the metadata stuff from the other platform: You might want to hide all the directories and files described in the SpecialFilesFolders FAQ entry by using Samba's veto option. You can do the same for Mac clients too using  Netatalk's veto option. For samba:
 +
veto files = /:2eFBCLockFolder/.FBCLockFolder/:2eFBCIndex/.FBCIndex/:2eDS_Store/.DS_Store/TheVolumeSettingsFolder/TheFindByContentFolder/Temporary Items/\
 +
              Network Trash Folder/.AppleDB/:2eVolumeIcon.icns/.VolumeIcon.icns/Icon/.AppleDouble/.AppleDesktop/desktop.ini/RECYCLER/
 +
delete veto files = Yes
 +
* File locking: partially working as Netatalk is using POSIX locks and SAMBA uses them too. But SAMBA usually also uses oplocks which should be disabled for interoperating with Netatalk.
 +
 
== What are the .AppleDouble and .AppleDB? directories and .Parent files which are created in the Netatalk Shares? ==
 
== What are the .AppleDouble and .AppleDB? directories and .Parent files which are created in the Netatalk Shares? ==
 
== Why can't I mount more than one server? ==
 
== Why can't I mount more than one server? ==
 
== How can I check the consistency of the CNID databases? ==
 
== How can I check the consistency of the CNID databases? ==
 
== How do you use netatalk over ssh? ==
 
== How do you use netatalk over ssh? ==

Revision as of 09:13, 1 March 2010

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox