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
5 c = _auth_resolve_user(p,&user,&ourname,&anonname);
8 - log_pri(LOG_NOTICE, "USER %s (Login failed): User not a UserAlias.",
10 + log_auth(LOG_NOTICE,"USER %s: user is not a UserAlias from %s [%s] to %s:%i",
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);
19 aclp = login_check_limits(main_server->conf,FALSE,TRUE,&i);
21 if((pw = auth_getpwnam(p,user)) == NULL) {
22 - log_pri(LOG_NOTICE, "USER %s (Login failed): Can't find user.", user);
23 + log_auth(LOG_NOTICE,"USER %s: no such user found from %s [%s] to %s:%i",
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);