

configure -with-ssl-dir=/opt/local -with-libevent-header=/opt/local -with-libevent-lib=/opt/local -with-libgcrypt -with-bdb=/opt/local -with-init-style=solaris -with-init-dir=/var/svc/manifest/network/ -without-pam -prefix=/opt/localsīuilding netatalk requires a symbolic link for 64-bit libraries: # ln -s /opt/local/lib /opt/local/lib/64įinally, let’s build netatalk (this will likely take a little while): # make & make installĮdit the configuration file /opt/local/etc/afp.conf: # vim /opt/local/etc/afp.confĪnd add the following, changing to match your specific configuration: Run: # cd ~Ĭonfigure the netatalk source before building: #. You can find the latest version at SourceForge. Next, we’ll download and extract the latest version of netatalk.
#Netatalk user password install
Install the compiler, build tools and cryptographic dependencies: # pkgin in gcc47 gmake libevent libgcrypt openssl Update the pkgsrc package manager: # pkgin up OS X users logged in with a user name/password previously created on the server. The pamncpauth authenticate against the netwareserver, if the > username+pass is a legal user on the netwareserver then pamncpauth creates > a user with. Next we’ll login to the newly created container (remember the UUID from earlier): # zlogin Note: netatalk does not permit the user name root to be used for log in. Make note of the container UUID, we’ll need it next. It’ll also pass a ZFS dataset from the host system to the container ( /tank/data), this is useful to give netatalk access to files stored on the host.Ĭreate the container: # vmadm create. The following command line will create a new SmartOS container with 2048 MB RAM, 32 GB disk and a statically configured NIC (change the NIC settings to match your network setup). Next we’ll create the container itself based on the imported SmartOS image. Import the SmartOS image: # imgadm import f3a6e1a2-9d71-11e9-9bd2-e7e5b4a5c141 then add the Netatalk service to the automatic boot process and generate the CrackLib word list (for strong passwords), as well as the AFP password file. Create a SmartOS Zoneįind the latest base-64 image, in this case f3a6e1a2-9d71-11e9-9bd2-e7e5b4a5c141: # imgadm avail | grep base-64 This article assumes you have a working SmartOS host and that you are logged in as root. SmartOS supports AMD Ryzen and AMD Epyc CPUs since a while back, in addition to the long supported Intel CPUs, such as the Intel Xeon. Netatalk can be used to build your own NAS from commodity hardware, instead of buying one.

It has since been replaced as the default protocol on Macs by SMB/CIFS. Netatalk is an open source implementation of the Apple Filing Protocol, which used to be the default file sharing protocol on Macs.
#Netatalk user password how to
This tutorial will show you how to install netatalk on SmartOS.
