View previous topic :: View next topic |
Author |
Message |
heepster n00b
Joined: 25 Jun 2008 Posts: 2
|
Posted: Wed Jun 25, 2008 8:45 am Post subject: Netatalk and Leopard |
|
|
Hi,
i wanted to install Netatalk on my Gentoo server so i used the instruction from http://gentoo-wiki.com/HOWTO_Share_Directories_via_AFP
so my /etc/netatalk/afpd.conf looks like this:
- -noddp -advertise_ssh
/etc/netatalk/netatalk.conf :
ATALKD_RUN=no
PAPD_RUN=no
CNID_METAD_RUN=no
AFPD_RUN=yes
TIMELORD_RUN=no
A2BOOT_RUN=no
/etc/netatalk/AppleVolumes.default
/srv/Musik MUSIK allow:heepster
i didn't change any of the other config files...
The problem is that Leopard can't connect to the server..
It shows up in Finder's sidebar and i can enter my username and password but it always says: "verbindung fehlgeschlagen" (connection failed)
Help appreciated
Thank you
P.S: I don't want to allow unencrypted connections so it would be nice if someone could help me with encryption settings |
|
Back to top |
|
|
heepster n00b
Joined: 25 Jun 2008 Posts: 2
|
Posted: Wed Jun 25, 2008 2:14 pm Post subject: |
|
|
BTW: I installed netatalk with following Use flags:
[ebuild R ] net-fs/netatalk-2.0.3-r2 USE="cracklib pam ssl tcpd -cups -debug -kerberos -krb4 -slp" |
|
Back to top |
|
|
a_me n00b
Joined: 21 Jan 2006 Posts: 43
|
Posted: Thu Oct 23, 2008 8:06 pm Post subject: |
|
|
did you find a solution already? i would be interested how you configured your netatalk service.
thanks in advance
andreas |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 513 Location: San Diego, California USA
|
Posted: Thu Oct 23, 2008 9:07 pm Post subject: |
|
|
I'm able to talk to Leopard using afpd just fine.
/etc/afpd.conf:
- -noddp
/etc/netatalk.conf:
ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`
# specify the Mac and unix charsets to be used
ATALK_MAC_CHARSET='MAC_ROMAN'
ATALK_UNIX_CHARSET='LOCALE'
# specify this if you don't want guest, clrtxt, and dhx
# available options: uams_guest.so, uams_clrtxt.so, uams_dhx.so,
# uams_randnum.so
#AFPD_UAMLIST="-U uams_clrtxt.so,uams_dhx.so"
# Change this to set the id of the guest user
AFPD_GUEST=nobody
# Set which daemons to run (papd is dependent upon atalkd):
ATALKD_RUN=no
PAPD_RUN=no
CNID_METAD_RUN=no
AFPD_RUN=yes
TIMELORD_RUN=no
A2BOOT_RUN=no
# Control whether the daemons are started in the background
ATALK_BGROUND=no
# export the charsets, read form ENV by apps
export ATALK_MAC_CHARSET
export ATALK_UNIX_CHARSET
/etc/AppleVolumes.default:
# The "~" below indicates that Home directories are visible by default.
# If you do not wish to have people accessing their Home directories,
# please put a pound sign in front of the tilde or delete it.
~
/home/Time_Machine TM allow:@users
Then use 'afppasswd' to set your AFP password. When you connect from the Mac, use your username and the password you set with 'afppasswd'. I used to use afpd for Time Machine, but now I use a Time Capsule for my Macs.
I'm also running mDNSResponder. That might help this situation as well:
/etc/mDNSResponderPosix.conf:
hostname
_afpovertcp._tcp
548 |
|
Back to top |
|
|
|