diff options
author | Tom Yu <tlyu@mit.edu> | 1997-07-25 19:50:25 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1997-07-25 19:50:25 +0000 |
commit | 1181c93710b1c917a2a613a4d14b2129e0f8994d (patch) | |
tree | 4b9fce7965bdead5d838726781f74b55242ebb4c | |
parent | 21ddb0df0b5394279f82480257c0cf32f45810a1 (diff) | |
download | krb5-1181c93710b1c917a2a613a4d14b2129e0f8994d.tar.gz krb5-1181c93710b1c917a2a613a4d14b2129e0f8994d.tar.xz krb5-1181c93710b1c917a2a613a4d14b2129e0f8994d.zip |
* kadm_funcs.c: Remove mention of dbm for now. It should probably
be added back later to deal with dbm-hashed passwd files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10136 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/kadmin/v4server/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/v4server/kadm_funcs.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/kadmin/v4server/ChangeLog b/src/kadmin/v4server/ChangeLog index 22afa032d1..1d512ba423 100644 --- a/src/kadmin/v4server/ChangeLog +++ b/src/kadmin/v4server/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 25 15:49:58 1997 Tom Yu <tlyu@mit.edu> + + * kadm_funcs.c: Remove mention of dbm for now. It should probably + be added back later to deal with dbm-hashed passwd files. + Tue Jul 1 02:38:50 1997 Tom Yu <tlyu@mit.edu> * kadm_funcs.c, kadm_server.c, kadm_ser_wrap.c: Reenable mod and diff --git a/src/kadmin/v4server/kadm_funcs.c b/src/kadmin/v4server/kadm_funcs.c index fd619e2cb8..87eb227ee8 100644 --- a/src/kadmin/v4server/kadm_funcs.c +++ b/src/kadmin/v4server/kadm_funcs.c @@ -745,9 +745,11 @@ char *rrealm; des_cblock newpw; char *pwstring; { - static DBM *pwfile = NULL; int retval; +#ifdef notdef + static DBM *pwfile = NULL; datum passwd, entry; +#endif struct passwd *ent; #ifdef HESIOD extern struct passwd *hes_getpwnam(); @@ -760,6 +762,7 @@ char *pwstring; return(KADM_PW_MISMATCH); if (pwstring && (strlen(pwstring) < 5)) return(KADM_INSECURE_PW); +#ifdef notdef if (!pwfile) { pwfile = dbm_open(PW_CHECK_FILE, O_RDONLY, 0644); } @@ -770,6 +773,7 @@ char *pwstring; if (entry.dptr) return(KADM_INSECURE_PW); } +#endif if (check_pw(newpw, rname) || check_pw(newpw, reverse(rname))) return(KADM_INSECURE_PW); #ifdef HESIOD |