Subject: Re: bug#9732: bug or feature?

From: Eric Blake <[email-masked]>
Date: Wed, 12 Oct 2011 08:09:45 -0600

tag 9732 needinfo
thanks

On 10/11/2011 10:18 PM, Shevtsov Anton Yurevich wrote:
> Hi,
>
> I found strange result for 'id' use.
> If run id with lowercase login we getting this
>
> [shev_ay@pandora Admins]$ id -a shev_ay
> uid=1062(shev_ay) gid=513(DomainUsers)
> groups=513(DomainUsers),100(users),2005(vboxusers),2006(ossec),512(DomainAdmins),201(hpclj5550),203(xpe120i),1010(xpe120i2),1013(PetrelUsers),1019(AddressBook),1020(prjREGION),1039(GGX_users),1040(Project0),1041(ATSusers),1045(SharedRoster),1046(prjSAMOTLOR),1047(DIRECTUM_users),1048(unixadmins),1057(prjSAMOTLOR_GDM)
>
> if first letter in uppercase, we get
> [shev_ay@pandora Admins]$ id -a Shev_ay
> uid=1062(shev_ay) gid=513(DomainUsers) groups=513(DomainUsers)

Given the magic group 513 as DomainUsers, I can't help but wonder if 
this is on Windows, perhaps via the cygwin port.  If so, your question 
is better asked to the place that ported id to your platform - cygwin 
may very well have a quirk in exposing window's case-insensitivity when 
it queries the user database.

-- 
Eric Blake   [email-masked]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org