just noticed I had the old binary of afpfsd resident on memory, that was compiled before I got gcrypt and gmp installed. now the output is like expected:
$ afp_client status
AFPFS Version: 0.8.1
UAMs compiled in: Cleartxt Passwrd, No User Authent, Randnum Exchange, 2-Way Randnum Exchange, DHCAST128, DHX2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have just compiled AFPFS to mount a Time Capsule share (hoping it will let me chmod files so I can archive my files with rsync).
The problem comes with:
# mount_afp afp://XXX/Share /mnt/tc
Mounting XXX from Share on /mnt/tc
Could not pick a matching UAM.
Then I check:
# afp_client status
AFPFS Version: 0.8.1
UAMs compiled in: Cleartxt Passwrd, No User Authent
which seems to be the problem: i dont have any crypt mechanism for auth. that is weird because I have both required libs:
# ls /usr/lib/libgmp*
/usr/lib/libgmp.a /usr/lib/libgmp.so@ /usr/lib/libgmp.so.3.4.1* /usr/lib/libgmpxx.la* /usr/lib/libgmpxx.so.3@
/usr/lib/libgmp.la* /usr/lib/libgmp.so.3@ /usr/lib/libgmpxx.a /usr/lib/libgmpxx.so@ /usr/lib/libgmpxx.so.3.1.1*
# ls /usr/lib/libgcry*
/usr/lib/libgcrypt.a /usr/lib/libgcrypt.so@ /usr/lib/libgcrypt.so.11.2.2*
/usr/lib/libgcrypt.la* /usr/lib/libgcrypt.so.11@
installed on my system. Also, configure doesn't complain about any missing libgmp or libgcrypt.
Any clue ?
in fact:
# ./configure --enable-gcrypt=/usr/lib | grep crypt
checking for gcry_cipher_open in -lgcrypt... no
the lib is in /usr/lib though.
just noticed I had the old binary of afpfsd resident on memory, that was compiled before I got gcrypt and gmp installed. now the output is like expected:
$ afp_client status
AFPFS Version: 0.8.1
UAMs compiled in: Cleartxt Passwrd, No User Authent, Randnum Exchange, 2-Way Randnum Exchange, DHCAST128, DHX2