projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff67d69
)
Fixed a couple more syntactical errors with shadow passwords (now works)
author
Richard Basch
<probe@mit.edu>
Wed, 28 Dec 1994 22:13:00 +0000
(22:13 +0000)
committer
Richard Basch
<probe@mit.edu>
Wed, 28 Dec 1994 22:13:00 +0000
(22:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4776
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/bsd/login.c
patch
|
blob
|
history
diff --git
a/src/appl/bsd/login.c
b/src/appl/bsd/login.c
index 8e968d4bd56771619201bd28836a5fe95cb23b21..a142cb129c6f1a2a5766501bbb0b97378a081099 100644
(file)
--- a/
src/appl/bsd/login.c
+++ b/
src/appl/bsd/login.c
@@
-88,7
+88,7
@@
char copyright[] =
#include <stdio.h>
#include <string.h>
-#ifdef HA
S
_SHADOW
+#ifdef HA
VE
_SHADOW
#include <shadow.h>
#endif
@@
-162,7
+162,7
@@
int timeout = 300;
struct passwd *pwd;
#ifdef HAVE_SHADOW
-struct spwd *spwd
+struct spwd *spwd
;
#endif
char term[64], *hostname, *username;
@@
-526,7
+526,7
@@
main(argc, argv)
salt = "xx";
#ifdef HAVE_SHADOW
if (spwd = getspnam(username))
- salt = sp_pwdp;
+ salt = sp
wd->sp
_pwdp;
#endif
/* if user not super-user, check for disabled logins */