[tpop3d-discuss] auth_passwd problems with 1.5.1

Travis Miller tmiller at web-1hosting.net
Wed, 20 Aug 2003 14:59:13 -0500

 > can you try (a) compiling test.c without -lcrypt;

root@mailtest:/home/test# gcc test.c -o test
/tmp/ccuP56Q0.o: In function `main':
/tmp/ccuP56Q0.o(.text+0x28): undefined reference to `crypt'
collect2: ld returned 1 exit status

 > (b) running ldd on the tpop3d binary?

root@mailtest:/home/test/tpop3d-1.5.1# ldd tpop3d
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40017000)
         libc.so.6 => /lib/libc.so.6 (0x40045000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

And for a reference, here is ldd on my older, working tpop3d binary:

root@mailtest:/home/test/tpop3d-1.5.1# ldd /usr/sbin/tpop3d.working
         libmysqlclient.so.10 => 
/usr/local/mysql/lib/mysql/libmysqlclient.so.10 (0x40017000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40035000)
         libc.so.6 => /lib/libc.so.6 (0x40062000)
         libz.so.1 => /usr/lib/libz.so.1 (0x4014c000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x4015b000)
         libm.so.6 => /lib/libm.so.6 (0x40170000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

That is, of course, with MySQL support enabled....

Chris Lightfoot wrote:
> On Wed, Aug 20, 2003 at 02:51:38PM -0500, Travis Miller wrote:
>>Here ya go:
>>root@mailtest:/home/test# gcc test.c -lcrypt -o test
>>root@mailtest:/home/test# ./test testing agoodpassword abadpassword 
>>testing -> $1$o9UzF.MI$32/a2Jf/ExrQJoNFCshVl1
>>agoodpassword -> $1$o9UzF.MI$MooNo.cO0PLenET975/jv.
>>abadpassword -> $1$o9UzF.MI$5Lb0poYietAxafbw.60mP/
>>somethingelse -> $1$o9UzF.MI$Kda3SqBDUHL53/S2Kk1nN0
>>Now... it seems as if it working ok here?!