Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Nov 2001 21:20:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Nov 2001 21:20:48 -0500 Received: from adsl-63-194-239-202.dsl.lsan03.pacbell.net ([63.194.239.202]:10996 "EHLO mmp-linux.matchmail.com") by vger.kernel.org with ESMTP id ; Thu, 29 Nov 2001 21:20:30 -0500 Date: Thu, 29 Nov 2001 18:20:24 -0800 From: Mike Fedyk To: jose@iteso.mx Cc: linux-kernel@vger.kernel.org Subject: Re: 32 bit UIDs on 2.4.14 Message-ID: <20011129182024.A504@mikef-linux.matchmail.com> Mail-Followup-To: jose@iteso.mx, linux-kernel@vger.kernel.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 29, 2001 at 08:06:30PM -0600, jose@iteso.mx wrote: > > Hi. > > What is the trick to get more than 2^16 uids working on all services?? > > I'm using kernel 2.4.14, libc6 compiled with 2.4.7 headers, lib(pam|nss)-ldap > openldap, wu-imap, cuci-pop, samba, telnet, ssh, Debian Potato. > > 'id' and 'getent passwd high-uid-user' both return the right uid (which > is stored on the ldap system), but 'ls -l' truncates the uid if it's higher than > 65536 (say for uid 80000, it reports 14464), and sshd, telnetd and imapd deny > logins because setuid() invalidates a >16 bit interger as argument. > > What should I recompile?? is there a moderately easy workaround?? > That patch is in the 2.4.13-ac7 don't use -ac8. It's probably somewhere else, but I don't know who origionally submited the patch to Alan. mf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/