Bug 680823

Summary: Vsftpd is incorrectly logging virtual guest FTP accounts as anonymous accounts in the xferlog file
Product: Red Hat Enterprise Linux 5 Reporter: Masahiro Matsuya <mmatsuya>
Component: vsftpdAssignee: Jiri Skala <jskala>
Status: CLOSED ERRATA QA Contact: Aleš Mareček <amarecek>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: aglotov, amarecek, cww, ovasik
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vsftpd-2.0.5-21.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-25 08:37:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Masahiro Matsuya 2011-02-28 01:05:39 UTC
Description of problem:
A customer has virtual guest accounts and anonymous users are disabled. Vsftpd is incorrectly logging virtual guest FTP accounts as anonymous accounts in the xferlog file.

Sat Feb 26 03:46:48 2011 1 10.65.192.153 3911 /bookmarks.json b _ i a  ftp 0 * c

This should be like this.

Sat Feb 26 03:46:48 2011 1 10.65.192.153 3911 /bookmarks.json b _ i g vftp2 ftp 0 * c

This issue has already been fixed on upstream.

- Fix xferlog format for virtual (guest) users, reported by Andy Fletcher
<andy>.

Version-Release number of selected component (if applicable):
vsftpd-2.0.5-16.el5_5.1

How reproducible:
Always

Steps to Reproduce:
1. configure virtual guest accounts.
2. configure xferlog
3. test with the virtual guest and check xferlog
  
Actual results:
virtual guest account name is not logged. 

Expected results:
virtual guest account name is logged with a charactor 'g'.

Comment 8 errata-xmlrpc 2011-05-25 08:37:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0830.html