AFP (netatalk) vs. SMB on ubuntu server?

5,670

Solution 1

I've used netatalk for some time (1+ year)m, but only two clients at home. Never had problems. I use SMB along with this for my third client, so that everyone can access the same share of files.

So yes, and no, are the answers :)

Solution 2

I've used 25 mac's on an ubuntu server using netatalk and NFS. It's a disaster :

  • first of all, don't use home directories on the server with NFS. It is possible, but some applications (Adobe InDesign, Illustrator, Apple Mail etc.) don't like this. Apple Mail will in time complete mess up its mail database on the workstation, forcing to recreate all the mail accounts on workstations. Moreover, you will experience random freezes on workstations when the server is not available.

  • netatalk/afp (still) has issues with file locking. Adobe Flash (MX and others) don't like this, they'll crash randomly. Office for Mac doesn't like this either. Will hang randomly.

Using samba server-side is pretty stable with (Snow) Leopard clients. Older clients will experience random hickups, including (severe) permission problems. You can't use server hosted homedir's though with samba. You should definitely not forget to use

  unix extensions = no

in smb.conf to solve some issues with file permissions.

I have no issues with running netatalk/afp alongside samba on the same server, other than that .DS_Store ._* and .Trashes files will show up in samba shares (you can easily filter them out on the clients, though).

Share:
5,670

Related videos on Youtube

trnc
Author by

trnc

Updated on September 17, 2022

Comments

  • trnc
    trnc almost 2 years

    I set up an ubuntu fileserver. We use macs only, so I would to suggest to use the netatalk open source afp protocol for sharing. But if a windows pc would need files from the server in the future, that's a problem. So my questions:

    Is netatalk stable? Is it a problem to have AFP and SMB activated at the same time?

    Thanks!