1 --- proftpd-1.2.0pre1/modules/mod_auth.c.betterlog Thu Feb 11 14:03:09 1999
2 +++ proftpd-1.2.0pre1/modules/mod_auth.c Thu Feb 11 14:03:34 1999
4 c = _auth_resolve_user(p,&user,&ourname,&anonname);
7 - log_pri(LOG_NOTICE,"failed login, '%s' is not a UserAlias.",origuser);
8 + log_auth(LOG_NOTICE,"USER %s: user is not a UserAlias from %s [%s] to %s:%i",
9 + user,session.c->remote_name,
10 + inet_ascii(p,session.c->remote_ipaddr),
11 + inet_ascii(p,session.c->local_ipaddr),
12 + session.c->local_port);
17 aclp = login_check_limits(main_server->conf,FALSE,TRUE,&i);
19 if((pw = auth_getpwnam(p,user)) == NULL) {
20 - log_pri(LOG_NOTICE,"failed login, can't find user '%s'",user);
21 + log_auth(LOG_NOTICE,"USER %s: no such user found from %s [%s] to %s:%i",
22 + user,session.c->remote_name,
23 + inet_ascii(p,session.c->remote_ipaddr),
24 + inet_ascii(p,session.c->local_ipaddr),
25 + session.c->local_port);