]>
Commit | Line | Data |
---|---|---|
5e22fc41 JR |
1 | diff -ur proftpd-1.2.0pre9.orig/modules/mod_auth.c proftpd-1.2.0pre9/modules/mod_auth.c |
2 | --- proftpd-1.2.0pre9.orig/modules/mod_auth.c Sat Oct 23 07:18:49 1999 | |
3 | +++ proftpd-1.2.0pre9/modules/mod_auth.c Thu Oct 28 15:18:57 1999 | |
4 | @@ -541,8 +541,11 @@ | |
faf2fc97 | 5 | c = _auth_resolve_user(p,&user,&ourname,&anonname); |
6 | ||
7 | if(!user) { | |
5e22fc41 JR |
8 | - log_pri(LOG_NOTICE, "USER %s (Login failed): User not a UserAlias.", |
9 | - origuser); | |
cda40b44 | 10 | + log_auth(LOG_NOTICE,"USER %s: user is not a UserAlias from %s [%s] to %s:%i", |
5e22fc41 JR |
11 | + origuser,session.c->remote_name, |
12 | + inet_ascii(p,session.c->remote_ipaddr), | |
13 | + inet_ascii(p,session.c->local_ipaddr), | |
14 | + session.c->local_port); | |
faf2fc97 | 15 | goto auth_failure; |
16 | } | |
17 | ||
5e22fc41 | 18 | @@ -550,7 +553,11 @@ |
faf2fc97 | 19 | aclp = login_check_limits(main_server->conf,FALSE,TRUE,&i); |
20 | ||
21 | if((pw = auth_getpwnam(p,user)) == NULL) { | |
5e22fc41 | 22 | - log_pri(LOG_NOTICE, "USER %s (Login failed): Can't find user.", user); |
cda40b44 | 23 | + log_auth(LOG_NOTICE,"USER %s: no such user found from %s [%s] to %s:%i", |
5e22fc41 JR |
24 | + user,session.c->remote_name, |
25 | + inet_ascii(p,session.c->remote_ipaddr), | |
26 | + inet_ascii(p,session.c->local_ipaddr), | |
27 | + session.c->local_port); | |
faf2fc97 | 28 | goto auth_failure; |
29 | } | |
30 |