Subject: Re: login problems (cleartext passwords)...
From: Philipp Trautmann (philipp.trautmann@munich.netsurf.de)
Date: Tue May 23 2000 - 01:04:42 EDT
In a display of truly Socratic spirit Casey Lewis wrote on 5-23-2000 0:47:
>Hi all!
>
>I'm able to login as Guest, but it fails when I try to login as a
>Registered User.
>
>Background::
>Slackware 7.0 - Kernel 2.2.13
>Netatalk 2.1.4-test_39
> I've added -DSHADOWPW to the etc/afpd/Makefile in the CFLAGS section
> Commented out the DES and Crypto defs in the Makefile.
> Added -lcrypt -lrpcsvc to the DEFs section of sys/linux/Makefile
>
Casey,
here are the steps needed to make this setup work:
1. Verify the presence of /usr/include/shadow.h, /lib/libcrypt.so.1,
/usr/lib/libcrypt.a and /usr/lib/libcrypt.so in your system (the path
might be different, but make must be able to find them)
2. Under the netatalk tree, insert the following lines near the top of
etc/afpd/auth.c and etc/afpd/uam.c:
#ifdef SHADOWPW
#include <shadow.h>
#endif SHADOWPW
3. Add -DSHADOWPW to the CFLAGS in etc/afpd/Makefile and
etc/uams/Makefile.
4. In sys/linux/Makefile change "ADDLIBS=" to "ADDLIBS= -lcrypt -lrpcsvc".
5. Compile and install. Test.
Regards,
Philipp
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:47 EST