projects
/
ckermit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e9e5518
)
sleep and fake pam Authentication Failure message if nonexistant username is given
author
Ian Beckwith
<ianb@nessie.mcc.ac.uk>
Mon, 8 Oct 2007 02:26:02 +0000
(
03:26
+0100)
committer
Ian Beckwith
<ianb@nessie.mcc.ac.uk>
Mon, 8 Oct 2007 02:26:02 +0000
(
03:26
+0100)
ckuus7.c
patch
|
blob
|
history
diff --git
a/ckuus7.c
b/ckuus7.c
index
5a73d12
..
8801478
100644
(file)
--- a/
ckuus7.c
+++ b/
ckuus7.c
@@
-14908,6
+14908,12
@@
ckxlogin(userid, passwd, acct, promptok)
if (ok) {
ok = zvpass((char *)passwd); /* Check password */
debug(F101,"ckxlogin zvpass","",ok);
+#ifdef CK_PAM
+ } else {
+ /* Fake pam password failure for nonexistent users */
+ sleep(1);
+ printf("Authentication failure\n");
+#endif
}
if (ok > 0 && isguest) {