* ftpd.c (login): New function. Essentially, the old pass
function has been split into its two logical components, pass and
login.
(pass): If auth_ok is true, reply with code 202 to tell the
user that a PASS command is not necessary. Also, don't reply
230 "User logged in" if the user didn't send a PASS command;
this causes the client to get a bit confused.
(auth_ok): New function that returns true if either gss_ok or
kerb_ok is true (all the #ifdefs were beginning to clutter things,
and it's a good abstraction in case other auth types are ever
added in the future).
(user): If GSSAPI or Kerberos v4 authentication succeeds, call
login immediately, instead of waiting for the client to send "PASS
dummy." Also, use #ifdef PARANOID instead of "some paranoid sites
may wish to uncomment this"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10899
dc483132-0cff-0310-8789-
dd5450dbe970