From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 00:24:24 2011 Received: (at submit) by debbugs.gnu.org; 12 Oct 2011 04:24:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDqMg-00045P-IX for submit@debbugs.gnu.org; Wed, 12 Oct 2011 00:24:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDqHT-0003xc-9g for submit@debbugs.gnu.org; Wed, 12 Oct 2011 00:19:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDqH2-0007t4-MH for submit@debbugs.gnu.org; Wed, 12 Oct 2011 00:18:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:52740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDqH2-0007t0-Kp for submit@debbugs.gnu.org; Wed, 12 Oct 2011 00:18:32 -0400 Received: from eggs.gnu.org ([140.186.70.92]:54927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDqH1-0007UZ-ON for bug-coreutils@gnu.org; Wed, 12 Oct 2011 00:18:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDqH0-0007sW-My for bug-coreutils@gnu.org; Wed, 12 Oct 2011 00:18:31 -0400 Received: from petrograf-gw.tmn.ru ([212.76.179.107]:59669 helo=mail.kitlinkor.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDqH0-0007ry-0U for bug-coreutils@gnu.org; Wed, 12 Oct 2011 00:18:30 -0400 Received: from ASSP.nospam (localhost.localdomain [127.0.0.1]) by mail.kitlinkor.ru (8.13.8/8.13.8) with ESMTP id p9C4INa4018521 for ; Wed, 12 Oct 2011 10:18:26 +0600 X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mail.kitlinkor.ru p9C4INa4018521 DomainKey-Signature: a=rsa-sha1; s=mail; d=kitlinkor.ru; c=nofws; q=dns; h=dkim-signature:received:message-id:date:from:organization: user-agent:mime-version:to:subject:x-enigmail-version:content-type: content-transfer-encoding:x-assp-id:x-assp-version; b=XgVFrKZGOkT4ZBUNtqUOo9ngYUEhQrrO4TdNNWE0PRQD4H0XnJJhqI6pMh0IX7U0z fVgFccDWtBJM6FRP0S1WvYS/KSXy/gF+944gUoxnomim/dAknqalCDNmHkjYWwK16tf HsVjBILdmK/9+qnpmgPvBo79fnkVqMcRHWGWoQk= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kitlinkor.ru; s=mail; t=1318393106; bh=elpXTJ17N+a8y9JdF3M0nmwuQilM1o7jrEmXcBxw0V4=; l=1229; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=mGseduDrFqCgK6BBaownRqleqcMAQUQJC3EkhHgsn3QRnWpU/lftWcC1KUjQMVuui uke7dg06QPOUzlzz2wvcyrHhkAulDo8wNlKn4D1vG2Yby7zilpSUJJdRVvbxWRrAp0 YxhSESnQ88+BDwcOI/VIbLmJF0+Yxiu1ixxzp9xE= Received: from [192.168.1.85] ([192.168.1.85] helo=[192.168.1.85]) with IPv4:25 by ASSP.nospam; 12 Oct 2011 10:18:23 +0600 Message-ID: <4E95150D.40703@kitlinkor.ru> Date: Wed, 12 Oct 2011 10:18:21 +0600 From: Shevtsov Anton Yurevich Organization: =?UTF-8?B?0J7QntCeINCa0JjQoiDQm9CY0J3QmtCe0KA=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: bug or feature? X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Assp-ID: ASSP.nospam (93103-06803) X-Assp-Version: 1.6.5.0(1.0.02) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 12 Oct 2011 00:24:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) 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) and last, if first letter in uppercase and space at end [shev_ay@pandora Admins]$ id -a 'shev_ay ' uid=1062(shev_ay) gid=513(DomainUsers) groups=513(DomainUsers),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) cat /etc/nsswitch.conf passwd: files ldap shadow: files ldap group: files ldap p.s into ldap all fields is lowercase -- Anton Shevtsov From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 10:10:20 2011 Received: (at 9732) by debbugs.gnu.org; 12 Oct 2011 14:10:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDzVi-00023g-Sl for submit@debbugs.gnu.org; Wed, 12 Oct 2011 10:10:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDzVf-00023P-KB; Wed, 12 Oct 2011 10:10:17 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9CE9ko2017363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Oct 2011 10:09:46 -0400 Received: from [10.3.113.147] (ovpn-113-147.phx2.redhat.com [10.3.113.147]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9CE9knM030790; Wed, 12 Oct 2011 10:09:46 -0400 Message-ID: <4E959FA9.5070405@redhat.com> Date: Wed, 12 Oct 2011 08:09:45 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15 MIME-Version: 1.0 To: Shevtsov Anton Yurevich Subject: Re: bug#9732: bug or feature? References: <4E95150D.40703@kitlinkor.ru> In-Reply-To: <4E95150D.40703@kitlinkor.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 9732 Cc: 9732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) 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 eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 10:18:49 2011 Received: (at control) by debbugs.gnu.org; 12 Oct 2011 14:18:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDzdx-00030l-O0 for submit@debbugs.gnu.org; Wed, 12 Oct 2011 10:18:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDzdu-00030a-W0 for control@debbugs.gnu.org; Wed, 12 Oct 2011 10:18:48 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9CEIIWU002343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 12 Oct 2011 10:18:18 -0400 Received: from [10.3.113.147] (ovpn-113-147.phx2.redhat.com [10.3.113.147]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9CEIIUq014757 for ; Wed, 12 Oct 2011 10:18:18 -0400 Message-ID: <4E95A1A9.5040309@redhat.com> Date: Wed, 12 Oct 2011 08:18:17 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: 9732 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) tag 9732 moreinfo -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 11:41:18 2011 Received: (at control) by debbugs.gnu.org; 12 Oct 2011 15:41:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RE0vl-0005lZ-Nk for submit@debbugs.gnu.org; Wed, 12 Oct 2011 11:41:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RE0vf-0005lA-Gp; Wed, 12 Oct 2011 11:41:14 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9CFegCp017096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Oct 2011 11:40:42 -0400 Received: from [10.3.113.147] (ovpn-113-147.phx2.redhat.com [10.3.113.147]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9CFefmE007287; Wed, 12 Oct 2011 11:40:41 -0400 Message-ID: <4E95B4F9.5080803@redhat.com> Date: Wed, 12 Oct 2011 09:40:41 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15 MIME-Version: 1.0 To: Anton Shevtsov , 9732-done@debbugs.gnu.org Subject: Re: bug#9732: bug or feature? References: <4E95150D.40703@kitlinkor.ru> <4E959FA9.5070405@redhat.com> <66728b7f81d9cb99856a6c448aada9c9@kitlinkor.ru> In-Reply-To: <66728b7f81d9cb99856a6c448aada9c9@kitlinkor.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) tag 9732 notabug thanks [re-adding the list] On 10/12/2011 09:36 AM, Anton Shevtsov wrote: >>> 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, thanks for reply. > No Windows anywhere :) > Users accounts into ldap (openldap). DomainUsers creating for WIndows > compatibility and not used. > I am login into CentOS5, run id command and see this :) > > I trying for three different platform (three domains) > 1) samba 3.4.8+openldap > 2) samba 3.4.8+port389 > 3) samba 3.4.8+fedora directory server So the problem is not Windows, but in Samba's emulation of Window's case-insensitive quirks. That is, samba is the culprit that is treating your database queries case-insensitively, since samba must interact with windows, and windows does the same. > Users getting from files, ldap (/etc/nsswitch.conf) always. > > The result is equivalent to anywhere. It's my side problems or what? :) > Help :) You can run strace to see what the actual kernel calls and results were. Coreutils is not at fault here - it is something in the kernel itself (most likely, how the kernel is interacting with samba, and thus in samba rather than in the kernel proper) that is providing the results you are seeing. I'll go ahead and mark this bug done on the coreutils side. You can continue to add comments as you learn more information, but at this point, I see nothing that coreutils needs to change, rather that you need to pursue elsewhere, such as on a samba list, for more answers. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org From unknown Sat Jun 21 03:23:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Nov 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator