* 32 bit UIDs on 2.4.14
@ 2001-11-30 2:06 jose
2001-11-30 2:20 ` Mike Fedyk
2001-11-30 10:59 ` Alan Cox
0 siblings, 2 replies; 4+ messages in thread
From: jose @ 2001-11-30 2:06 UTC (permalink / raw)
To: linux-kernel
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??
Thanks
José
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32 bit UIDs on 2.4.14
2001-11-30 2:06 32 bit UIDs on 2.4.14 jose
@ 2001-11-30 2:20 ` Mike Fedyk
2001-11-30 10:59 ` Alan Cox
1 sibling, 0 replies; 4+ messages in thread
From: Mike Fedyk @ 2001-11-30 2:20 UTC (permalink / raw)
To: jose; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32 bit UIDs on 2.4.14
2001-11-30 2:06 32 bit UIDs on 2.4.14 jose
2001-11-30 2:20 ` Mike Fedyk
@ 2001-11-30 10:59 ` Alan Cox
2001-11-30 13:20 ` Hans Reiser
1 sibling, 1 reply; 4+ messages in thread
From: Alan Cox @ 2001-11-30 10:59 UTC (permalink / raw)
To: jose; +Cc: linux-kernel
> What is the trick to get more than 2^16 uids working on all services?=
> ?
2.4.x kernel
Glibc 2.2
Up to date pam modules
ext2/ext3 file system
patches needed for quotas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32 bit UIDs on 2.4.14
2001-11-30 10:59 ` Alan Cox
@ 2001-11-30 13:20 ` Hans Reiser
0 siblings, 0 replies; 4+ messages in thread
From: Hans Reiser @ 2001-11-30 13:20 UTC (permalink / raw)
To: Alan Cox; +Cc: jose, linux-kernel
Alan Cox wrote:
>> What is the trick to get more than 2^16 uids working on all services?=
>>?
>>
>
>2.4.x kernel
>Glibc 2.2
>Up to date pam modules
>ext2/ext3 file system
>
>patches needed for quotas
>
>-
>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/
>
>
reiserfs also works, for 32 bit uids
Hans
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-30 13:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-30 2:06 32 bit UIDs on 2.4.14 jose
2001-11-30 2:20 ` Mike Fedyk
2001-11-30 10:59 ` Alan Cox
2001-11-30 13:20 ` Hans Reiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox