yum install netatalk
chkconfig atalk on
vi /etc/atalk/AppleVolumes.default
adding the shared directories. At the end of the file you can find a line with only the ~ char, this means share the homedir. The format of the share is like this:/data/share1 "share1" /data/share2 "test"
/etc/pam.d/netatalk
this way:#%PAM-1.0 #auth required pam_unix.so #account required pam_unix.so #password required pam_cracklib.so #password required pam_unix.so use_authtok #session required pam_unix.so auth include system-auth account required pam_nologin.so account include system-auth password include system-auth session include system-auth session required pam_loginuid.so
service atalk start