+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
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();
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);
}
if (entry.dptr)
return(KADM_INSECURE_PW);
}
+#endif
if (check_pw(newpw, rname) || check_pw(newpw, reverse(rname)))
return(KADM_INSECURE_PW);
#ifdef HESIOD