On Mon, 8 May 2000, S.Ecker wrote:

> I'm trying to compile on a linux server with
> RedHat6.2+shadow passwords+PAM.  I made the following
> modifications:
> 
> to ./Makefile:
>       PAMDIR=/usr/include/security
>       (where pam_modules.h and the like reside) 
> 
> to ./etc/afpd/Makefile
>       added -DSHADOWPW to CFLAGS
> 
> I used the following packages:
> 
>       netatalk-1.4b2+asun2.1.3.tar.gz
>       tcp_wrappers_7.6.tar.gz
>       libdes.tar.gz

The compile bug you are having is a known problem.  There is a missing
library definition in sys/linux/Makefile.  You have to put "-lnsl" in it
somewhere...

I would highly recommend that you use the asun2.1.4pre37b release instead
of 2.1.3.  It is actually quite stable and has many improvements and bug
fixes.  You can grab it from:

ftp://ftp.cobaltnet.com/pub/users/asun/testing/

Just untar/gz it, uncomment the PAMDIR setting in the top-level Makefile,
and compile.  You don't need to set anything for shadow support.  TCP
wrappers are on by default.

For RedHat 6.2, you will need to add "alias net-pf-5 appletalk" to your
/etc/conf.modules if you are using the stock RedHat kernel.

        Andy

Reply via email to