From cb1dd6c78c6f6b949baaa344bd70b85356f3df38 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 16 May 1990 22:53:57 +0000 Subject: [PATCH] clean up some nits git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@861 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/kuserok.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/lib/krb5/os/kuserok.c b/src/lib/krb5/os/kuserok.c index b80a46ea5..c08397c54 100644 --- a/src/lib/krb5/os/kuserok.c +++ b/src/lib/krb5/os/kuserok.c @@ -26,23 +26,21 @@ static char rcsid_kuserok_c [] = #include #include -#define OK 0 -#define NOTOK 1 #define MAX_USERNAME 10 /* * Given a Kerberos principal "principal", and a local username "luser", * determine whether user is authorized to login according to the - * authorization file ("~luser/.klogin" by default). Returns OK - * if authorized, NOTOK if not authorized. + * authorization file ("~luser/.klogin" by default). Returns TRUE + * if authorized, FALSE if not authorized. * * If there is no account for "luser" on the local machine, returns - * NOTOK. If there is no authorization file, and the given Kerberos + * FALSE. If there is no authorization file, and the given Kerberos * name "server" translates to the same name as "luser" (using - * krb5_aname_to_lname()), returns OK. Otherwise, if the authorization file - * can't be accessed, returns NOTOK. Otherwise, the file is read for + * krb5_aname_to_lname()), returns TRUE. Otherwise, if the authorization file + * can't be accessed, returns FALSE. Otherwise, the file is read for * a matching principal name, instance, and realm. If one is found, - * returns OK, if none is found, returns NOTOK. + * returns TRUE, if none is found, returns FALSE. * * The file entries are in the format produced by krb5_unparse_name(), * one entry per line. -- 2.26.2