Timo Sirainen wrote:
http://dovecot.org/releases/1.2/dovecot-1.2.2.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.2.tar.gz.sig
Found and fixes several v1.2-specific bugs. Hopefully it's now stable for most people's usage.
- GSSAPI: More changes to authentication. Hopefully good now.
gmake[3]: Entering directory
`/home/build/dovecot/dovecot-1.2.2-ifm/src/auth'
source='mech-gssapi.c' object='mech-gssapi.o' libtool=no
DEPDIR=.deps depmode=none /bin/bash ../../depcomp
cc -m64 -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-sql
-I../../src/lib-settings -I../../src/lib-ntlm -I../../src/lib-otp
-DAUTH_MODULE_DIR=\""/ifm/pkg/dovecot/1.2.2-ifm/lib/dovecot/auth"\"
-DPKG_LIBEXECDIR=\""/ifm/pkg/dovecot/1.2.2-ifm/libexec/dovecot"\"
-I/usr/include/kerberosv5 -g -O -I/ifm/include -I/usr/sfw/include
-I/usr/sfw/include -c mech-gssapi.c
"mech-gssapi.c", line 276: undefined symbol: gss_mech_krb5
"mech-gssapi.c", line 276: warning: improper pointer/integer
combination: arg #2
cc: acomp failed for mech-gssapi.c
gmake[3]: *** [mech-gssapi.o] Error 2
Solaris 10 Update 6, x86
"gss_mech_krb5" is not a valid variable on Solaris.
Do you really have to check that GSSAPI is using Kerberos? Why not leave it up to the system to use whatever default authentication mechanism is choosen (currently that probably is Kerberos, but other things might pop up in the future - you never now). The whole point of using GSSAPI is that it should be agnostic to the authentication mechanism used "behind the scenes"...
Another issue when building 1.2.2 that wasn't there with 1.2.1 is that "-lsocket" seems to be missing causing linking errors. One example:
/bin/bash ../../libtool --tag=CC --mode=link cc -m64 -g -O
-I/ifm/include -I/usr/sfw/include -I/usr/sfw/include -L/ifm/lib/64
-R/ifm/lib/64 -L/ifm/lib/64 -R/ifm/lib/64 -L/usr/sfw/lib/64
-R/usr/sfw/lib/64 -o checkpassword-reply checkpassword-reply.o
../lib/liblib.a -lrt -lsendfile
libtool: link: cc -m64 -g -O -I/ifm/include -I/usr/sfw/include
-I/usr/sfw/include -o checkpassword-reply checkpassword-reply.o
-L/ifm/lib/64 -L/usr/sfw/lib/64 ../lib/liblib.a -lrt -lsendfile
-R/ifm/lib/64 -R/usr/sfw/lib/64
Undefined first referenced
symbol in file
bind ../lib/liblib.a(network.o)
send ../lib/liblib.a(network.o)
getservbyport ../lib/liblib.a(network.o)
getsockname ../lib/liblib.a(fd-close-on-exec.o)
accept ../lib/liblib.a(network.o)
listen ../lib/liblib.a(network.o)
gethostbyname ../lib/liblib.a(hostpid.o)
socket ../lib/liblib.a(network.o)
setsockopt ../lib/liblib.a(network.o)
getsockopt ../lib/liblib.a(network.o)
connect ../lib/liblib.a(network.o)
in6addr_any ../lib/liblib.a(network.o)
getaddrinfo ../lib/liblib.a(network.o)
getpeername ../lib/liblib.a(network.o)
freeaddrinfo ../lib/liblib.a(network.o)
inet_aton ../lib/liblib.a(network.o)
inet_pton ../lib/liblib.a(network.o)
inet_ntop ../lib/liblib.a(network.o)
gai_strerror ../lib/liblib.a(network.o)
ld: fatal: Symbol referencing errors. No output written to
checkpassword-reply
gmake[3]: *** [checkpassword-reply] Error 1
gmake[3]: Target all' not remade because of errors. gmake[3]: Leaving directory
/home/build/dovecot/dovecot-1.2.2-ifm/src/auth'
- Peter