Hi, I try to install netatalk-3.11.1, but /usr/lib64/netatalk//uams_gss.so: undefined symbol: krb5_xfree happend agein.
I remenber this bug happened in 3.1.8
Any one can help?
I've tried compiling from the srpm, you are right there is a difference in config.h but I still can't get krb auth running from an srpm compiled version(different issue). I gues krb auth is not possible with the latest netatalk version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Was this issue specific to when compiling from the srpm?
I set up a CentOS Stream 9 environment to test this and was able to get afpd to load uams_gss.so without error, using the latest netatalk main branch development code.
The resulting config.h looked like the tarball example that HAT provided.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have no idea.
etc/uams/uams_gss.c:
#ifdef HAVE_KRB5_FREE_UNPARSED_NAME krb5_free_unparsed_name(context, principal); #else krb5_xfree(principal); #endif#ifdef HAVE_KRB5_FREE_ERROR_MESSAGE krb5_free_error_message(context, error_msg); #else krb5_xfree(error_msg); #endifIf these are defined, there will be no problem.
The following part should probably be corrected.
macros/netatalk.m4:
Hi, Did you have any joy with this ?
I'm also having this issue which is stopping me from using kerberos with afp.
Any help or pointers as to what to change in the source files or compilation files would be greatly appreciated.
same as #610 "uams_gss.so: undefined symbol: krb5_xfree"
https://sourceforge.net/p/netatalk/bugs/610/
This problem seems to occur at running configure script.
I tried configure using tarball. The options are as follows.
I compared config.h. See attached files.
If using srpm, there is no "#define HAVE_KRB5_FREE_UNPARSED_NAME 1".
I wonder why.
Last edit: HAT 2017-10-08
I've tried compiling from the srpm, you are right there is a difference in config.h but I still can't get krb auth running from an srpm compiled version(different issue). I gues krb auth is not possible with the latest netatalk version.
Was this issue specific to when compiling from the srpm?
I set up a CentOS Stream 9 environment to test this and was able to get afpd to load uams_gss.so without error, using the latest netatalk main branch development code.
The resulting config.h looked like the tarball example that HAT provided.
This bug has been obsoleted by the Meson build system.