Hallvard B Furuseth writes:
Beyond that, passes all tests on Ubuntu --with-tls=gnutls.
Correction, it passed with --enable-tls=gnutls, which is a no-op:-(
--with-tls=gnutls fails badly in liblutil/passwd.c:
./configure --prefix=/home/hbf/ldap/install --enable-aci --enable-crypt \ --enable-lmpasswd --enable-spasswd --enable-rlookups \ --enable-overlays --enable-backends --disable-ndb --disable-perl \ --disable-shell --disable-sql --with-tls=gnutls \ CFLAGS='-O2 -g -ansi -pedantic -W<lots of warnings>' \ CPPFLAGS='-D_GNU_SOURCE'
passwd.c:820: error: expected declaration specifiers or '...' before 'des_key' passwd.c: In function 'lmPasswd_to_key': passwd.c:835: warning: implicit declaration of function 'des_set_key_and_parity' passwd.c:835: error: 'key' undeclared (first use in this function) passwd.c:835: error: (Each undeclared identifier is reported only once passwd.c:835: error: for each function it appears in.) passwd.c: In function 'chk_lanman': passwd.c:846: error: 'des_key' undeclared (first use in this function) passwd.c:846: error: expected ';' before 'key' passwd.c:847: error: 'des_context' undeclared (first use in this function) passwd.c:847: error: expected ';' before 'schedule' passwd.c:848: error: 'des_data_block' undeclared (first use in this function) passwd.c:848: error: expected ';' before 'StdText' passwd.c:849: error: expected ';' before 'PasswordHash1' passwd.c:850: warning: ISO C90 forbids mixed declarations and code passwd.c:866: error: 'key' undeclared (first use in this function) passwd.c:866: error: too many arguments to function 'lmPasswd_to_key' passwd.c:867: warning: implicit declaration of function 'des_set_key_unchecked' passwd.c:867: error: 'schedule' undeclared (first use in this function) passwd.c:868: warning: implicit declaration of function 'des_ecb_encrypt' passwd.c:868: error: 'StdText' undeclared (first use in this function) passwd.c:868: error: 'PasswordHash1' undeclared (first use in this function) passwd.c:868: error: 'DES_ENCRYPT' undeclared (first use in this function) passwd.c:870: warning: implicit declaration of function 'des_failed' passwd.c:874: error: too many arguments to function 'lmPasswd_to_key' passwd.c:876: error: 'PasswordHash2' undeclared (first use in this function) passwd.c:881: warning: implicit declaration of function 'des_finish' passwd.c: In function 'hash_lanman': passwd.c:1142: error: 'des_key' undeclared (first use in this function) passwd.c:1142: error: expected ';' before 'key' passwd.c:1143: error: 'des_context' undeclared (first use in this function) passwd.c:1143: error: expected ';' before 'schedule' passwd.c:1144: error: 'des_data_block' undeclared (first use in this function) passwd.c:1144: error: expected ';' before 'StdText' passwd.c:1145: error: expected ';' before 'PasswordHash1' passwd.c:1146: warning: ISO C90 forbids mixed declarations and code passwd.c:1162: error: 'key' undeclared (first use in this function) passwd.c:1162: error: too many arguments to function 'lmPasswd_to_key' passwd.c:1163: error: 'schedule' undeclared (first use in this function) passwd.c:1164: error: 'StdText' undeclared (first use in this function) passwd.c:1164: error: 'PasswordHash1' undeclared (first use in this function) passwd.c:1164: error: 'DES_ENCRYPT' undeclared (first use in this function) passwd.c:1166: error: too many arguments to function 'lmPasswd_to_key' passwd.c:1168: error: 'PasswordHash2' undeclared (first use in this function) passwd.c: In function 'hash_crypt': passwd.c:1219: warning: format not a string literal, argument types not checked make[2]: *** [passwd.o] Error 1