Hi, I've spent some time trying to complie sasl with GSSAPI support, but I've encoutered many problems. Here they are:
1. the configure script does not determine correctly the implementation of my kerberos libraries. I installed heimdal but it thinks it's MIT. I think this machine never knew anything like MIT kerberos. I've solved this by hacking the part of configure which does it: I just forced the type to be always heimdal by default, by removing some lines from configure and replacing mit with heimdal in $gss_impl="mit". Seems like this works now. 2. The library has unresolved references after compilation: host:~/cyrus-sasl-2.1.13 # ldd -r ./plugins/.libs/libgssapiv2.so libcrypt.so.1 => /lib/libcrypt.so.1 (0x4006a000) libresolv.so.2 => /lib/libresolv.so.2 (0x4009d000) libc.so.6 => /lib/libc.so.6 (0x400ae000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) undefined symbol: des_set_key (./plugins/.libs/libgssapiv2.so) undefined symbol: des_cbc_encrypt (./plugins/.libs/libgssapiv2.so) undefined symbol: MD5_Init (./plugins/.libs/libgssapiv2.so) undefined symbol: MD5_Update (./plugins/.libs/libgssapiv2.so) undefined symbol: MD5_Final (./plugins/.libs/libgssapiv2.so) undefined symbol: des_cbc_cksum (./plugins/.libs/libgssapiv2.so) undefined symbol: des_set_odd_parity (./plugins/.libs/libgssapiv2.so) undefined symbol: des_is_weak_key (./plugins/.libs/libgssapiv2.so) undefined symbol: des_string_to_key (./plugins/.libs/libgssapiv2.so) undefined symbol: des_ede3_cbc_encrypt (./plugins/.libs/libgssapiv2.so) undefined symbol: RC4_set_key (./plugins/.libs/libgssapiv2.so) undefined symbol: MD4_Init (./plugins/.libs/libgssapiv2.so) undefined symbol: MD4_Update (./plugins/.libs/libgssapiv2.so) undefined symbol: MD4_Final (./plugins/.libs/libgssapiv2.so) undefined symbol: SHA1_Init (./plugins/.libs/libgssapiv2.so) undefined symbol: SHA1_Update (./plugins/.libs/libgssapiv2.so) undefined symbol: SHA1_Final (./plugins/.libs/libgssapiv2.so) undefined symbol: des_cfb64_encrypt (./plugins/.libs/libgssapiv2.so) undefined symbol: des_pcbc_encrypt (./plugins/.libs/libgssapiv2.so) undefined symbol: RC4 (./plugins/.libs/libgssapiv2.so) undefined symbol: RAND_file_name (./plugins/.libs/libgssapiv2.so) undefined symbol: RAND_add (./plugins/.libs/libgssapiv2.so) undefined symbol: RAND_status (./plugins/.libs/libgssapiv2.so) undefined symbol: RAND_egd_bytes (./plugins/.libs/libgssapiv2.so) undefined symbol: RAND_write_file (./plugins/.libs/libgssapiv2.so) undefined symbol: RAND_bytes (./plugins/.libs/libgssapiv2.so) undefined symbol: des_read_pw_string (./plugins/.libs/libgssapiv2.so) host:~/cyrus-sasl-2.1.13 # So when I start the sample-server it does not show GSSAPI mechanism due to it's unable to load the library libgssapi.so, for it has unresolved symbols. Previously the library had more unresolved symbols (such as des_set_key), but I added -ldes to the ./plugins/Makefile and they dissapeared. 3. saslauthd does not compile. It says that it cannot be linked due to lack of some libraries, but I think in my configuration I will not need the saslauthd, so I think that it can be skipped and does not have influence to libgssapiv2.so library. Correct ? I run suse linux 8-0, heimdal-0.4.e (built from sources), ./configure --enable-gssapi=/usr/heimdal/ \ --enable-krb4=no \ --enable-ntlm=no \ --enable-anon=no \ --enable-plain=no \ --enable-otp=no Can anybody help me to solve this ? Thank you. -- Best regards, Novosjolov Dmitry