diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2008-04-24 14:04:20 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2008-04-24 14:04:20 +0000 |
commit | 5264b88bb1f761642b14a68867ced1c8e3ab97dc (patch) | |
tree | 9c3318aa36d3d3d63f730779d933a61c6e6eae59 /libexec | |
parent | 5d3c7a90f0cfb3687465f662bc29e2019ebed1c5 (diff) |
compare strings with reality for expected behavior; ok millert@
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/login_krb5/login_krb5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/login_krb5/login_krb5.c b/libexec/login_krb5/login_krb5.c index 571e4da722b..4c1ba79686a 100644 --- a/libexec/login_krb5/login_krb5.c +++ b/libexec/login_krb5/login_krb5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: login_krb5.c,v 1.23 2005/11/13 00:27:56 deraadt Exp $ */ +/* $OpenBSD: login_krb5.c,v 1.24 2008/04/24 14:04:19 todd Exp $ */ /*- * Copyright (c) 2001, 2002 Hans Insulander <hin@openbsd.org>. @@ -154,7 +154,7 @@ krb5_login(char *username, char *invokinguser, char *password, int login, if (username == NULL || password == NULL) return (AUTH_FAILED); - if (strcmp(__progname, "login_krb5-or-pwd") == 0 && + if (strcmp(__progname, "krb5-or-pwd") == 0 && strcmp(username,"root") == 0 && invokinguser[0] == '\0') return (AUTH_FAILED); |