Change name verify_unix_user -> unix_verify_user in analogy with

krb_verify_user.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@697 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-08-31 20:42:48 +00:00
parent dbd9c54df4
commit 667e86ee11
5 changed files with 5 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ pop_pass (POP *p)
sprintf (tkt, TKT_ROOT "_popper.%d", (int)getpid());
krb_set_tkt_string (tkt);
if (krb_verify_user(p->user, "", lrealm, p->pop_parm[1], 1, "pop") &&
verify_unix_user(p->user, p->pop_parm[1])) {
unix_verify_user(p->user, p->pop_parm[1])) {
dest_tkt ();
return (pop_msg(p,POP_FAILURE,
"Password supplied for \"%s\" is incorrect.",

View File

@@ -529,7 +529,7 @@ verify(char *password)
* First try with root password, if allowed.
*/
if(appres.accept_root && verify_unix_user("root", password) == 0)
if(appres.accept_root && unix_verify_user("root", password) == 0)
return 0;
/*
* Password that log out user

View File

@@ -83,7 +83,7 @@ struct passwd *k_getpwnam (char *user);
#include <sys/time.h>
time_t tm2time (struct tm tm, int local);
int verify_unix_user(char *user, char *password);
int unix_verify_user(char *user, char *password);
void inaddr2str(struct in_addr addr, char *s, size_t len);

View File

@@ -83,7 +83,7 @@ struct passwd *k_getpwnam (char *user);
#include <sys/time.h>
time_t tm2time (struct tm tm, int local);
int verify_unix_user(char *user, char *password);
int unix_verify_user(char *user, char *password);
void inaddr2str(struct in_addr addr, char *s, size_t len);

View File

@@ -13,7 +13,7 @@ RCSID("$Id$");
#include "roken.h"
int
verify_unix_user(char *user, char *password)
unix_verify_user(char *user, char *password)
{
struct passwd *pw;