![]() For example, if we want to enable guest login to our share, the configuration file could look like this (the man page states that the username should be in quotes but should not) : Only thing left is to open port 548 and for this you can use system-config-firewall or s ystem-config-firewall-tui and you are done!īy changing the configuration file we can get some more features. Start the service and set it to start automatically on the next boot: /etc/rc.d/init.d/netatalk start A very minimal configuration to get the service running would look like this: Īs you can see the configuration file has two distinct categories and for any new share you would add a new category at the bottom. Now edit the main configuration file /etc/afp.conf with your favorite editor. ![]() useradd afpuser passwd afpuserĪdd the new local user to the afppasswd database with afppasswd -a afpuser In this example I will be sharing the home folder of the newly created account. Now let’s create a local user that the clients will connect as (ldap based authentication is also an option) and set a password. We need to create a file that the installer does not create for us, but is necessary. #INSTALL NETATALK ON CENTOS 7 INSTALL#Once that is done we can go ahead and install the rpm with su -c 'rpm -ivh netatalk-devel-3.0.3-0.0.7.el6.x86_64.rpm' The avahi component will be the one offering bonjour services so that OS X clients on the network identify the Linux server. The package has two dependencies that we need to clear before installing. Usually you would need to download the source and compile it, but for RHEL-based distros you can use the rpm I created. Needless to say that this version is still AFP 3.3 compliant, so your OS X clients won’t feel the difference. This third version came out with support for AppleDouble metadata, removed support for AppleTalk and made the configuration process much easier. Last year the guys from the netatalk project released the 3.0 version of their AFP server. ![]() For this guide I’ll be using the Red Hat Enterprise Linux (RHEL) rebuild CentOS. ![]() #INSTALL NETATALK ON CENTOS 7 HOW TO#For those with Linux servers here is a quick guide on how to serve files using the afp protocol from a Linux box. That is probably why most big companies rely on some other component to have the infrastructure and then us, the Mac admins, spend a lot of time on the integration. Let’s face it, OS X makes a great stable client platform but the server components do not scale well. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |