Hi,while experimenting with the ftpd and telnetd shipped with uclinux- dist-2008... i found a strange situation appears when enabling tinylogin with shadow support. After setting up a new user using adduser and setting its password, telnetd would allow me to log in using this new user, whereas ftpd would always return "530 Login incorrect.". After fiddeling a litte around it seems that there was a quirk in the user/ftp/config.h, it would enable the header for shadow passwords (#define HAVE_SHADOW_H) but would disable getspnam (#undef HAVE_GETSPNAM) which is needed in auth.c to use shadow passwords.
Please find attached a patch for this problem, hope it is correct. Feedback is welcome.
Greetings Peter
ftpd_shadow.patch
Description: Binary data
_______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
