summaryrefslogtreecommitdiffstats
path: root/src/mac/libraries/CCache API
diff options
context:
space:
mode:
authorGeoffrey King <gjking@mit.edu>1998-08-29 00:03:22 +0000
committerGeoffrey King <gjking@mit.edu>1998-08-29 00:03:22 +0000
commit89ccebdaf6de86e4f1cced0963f90f379d0b79dc (patch)
tree22cce8e29c8b624aa9243e55619a065f5c6c9367 /src/mac/libraries/CCache API
parentc57d45f6bd9447e2b8912e24252d48c521deeed7 (diff)
downloadkrb5-89ccebdaf6de86e4f1cced0963f90f379d0b79dc.tar.gz
krb5-89ccebdaf6de86e4f1cced0963f90f379d0b79dc.tar.xz
krb5-89ccebdaf6de86e4f1cced0963f90f379d0b79dc.zip
* 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
Diffstat (limited to 'src/mac/libraries/CCache API')
0 files changed, 0 insertions, 0 deletions