In message <[EMAIL PROTECTED]> you write:
}
} hi,
}
} I need a wuarchive ftpd with the ability to get an AFS-token, and I
} need it really urgently....
}
} If anyone can tell me what to add to the ftpd.c to get it running
} under AFS 3.3 and AIX 3.2.5 ?
}
We found that the ftpd that was part of the AFS 3.3 distribution was
broken (on Rs/6000's) in the first place.. Have others had problems
with it ? (I guess this is better than having the security hole,
that the previous versions had on Rs/6000's :-) )
Look in :
/afs/rpi.edu/campus/other/wuftpd/2.1c/rs_aix32/src/
I've modified it to do AFS authentication for non-root users and it
works great for us under AIX 3.2.4 and AFS 3.3. I don't suspect you
will have problems building it on AIX 3.2.5.
Most of the changes I made were to the 'pass' routine in ftpd.c. There
was already some Kerberos code in there that relied on Hesiod, that I
eliminated and replaced with AFS Kerberos calls.
I also ripped out some the ULTRIX_AUTH ifdef'd code out of the
'pass' routine in ftpd.c because the ifdef's were getting hairy,
and I did not expect to have to support this on Ultrix. If someone
needs this on ultrix, and has the original distribution, it should
be possible to add it back.
I have also added some code ifdef'd by PROCESS_CLEANER_SAFE which
makes utmp entries while ftpd is running, and removes them before
it goes away. We run process cleaners on all our public access
machines which periodically kill the processes for users who don't
have utmp entries, so ftpd has to do this to protect itself.
If you choose to leave that define in, you may in interested in
the process cleaner code that sits in
/afs/rpi.edu/campus/rpi/prcleaner/0.3.2/
and the utmp cleaner that sits in
/afs/rpi.edu/campus/other/utmpd/1.0/
Hope this helps,
-Shiva
-=-
UNIX Systems Programmer, Rensselaer Polytechnic Institute, Troy NY 12180.
Phone: (518) 276 8733. Fax: (518) 276 2809. Internet: [EMAIL PROTECTED]