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:
@@ -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.",
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user