<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>23876</bug_id>
          
          <creation_ts>2003-07-02 09:43 0000</creation_ts>
          <short_desc>vuserinfo not showing comment field and flag &quot;-a&quot; is broken</short_desc>
          <delta_ts>2003-08-06 02:34:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>cjames@callone.net</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>cjames@callone.net</who>
            <bug_when>2003-07-02 09:43:38 0000</bug_when>
            <thetext>The options for vuserinfo say that the comment field should be displayed by 
default.  It is not.  In addition the flag -a for &quot;display all fields&quot; actually 
show no fields.  The following patch will fix vuserinfo.c

195c195
&lt;                               DisplayAll = 1;
---
&gt;                               DisplayAll = 0;
232d231
&lt;         printf(&quot;comment:%s\n&quot;, mypw-&gt;pw_gecos);


Reproducible: Always
Steps to Reproduce:
1. vuserinfo test1@test.com
2. vuserinfo -a test1@test.com
3.

Actual Results:  
For step 1 I got everthing minus the comment
For step 2 Nothing was returned

Expected Results:  
Step 1 should have given the comment field. (It does when using -c)
Step 2 should have given all fields.

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21_rc2-gss i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;&quot;
USE=&quot;x86 oss apm arts avi crypt encode gif imlib jpeg kde libg++ mikmod motif 
mpeg ncurses oggvorbis opengl pdflib png quicktime sdl spell svga xml2 xmms xv 
zlib gdbm berkdb slang readline java gpm tcpd pam libwww ssl perl python -X -
gtk -gnome -alsa -nls -mmx -3dnow -truetype -cups -qt&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer&quot;
CXXFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer&quot;
ACCEPT_KEYWORDS=&quot;x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-08-06 02:33:54 0000</bug_when>
            <thetext>Mentioning vpopmail would have got this assigned to me sooner.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-08-06 02:34:03 0000</bug_when>
            <thetext>Fixed in CVS now.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>