# HG changeset patch # User Eli Zaretskii # Date 1207409041 0 # Node ID 99ced55c1ca73c78e0f4358ce626286d7eccf339 # Parent 62a42f14436b34ef23afc61f2e973a0e5836b9e9 (init_user_info): Don't restrict UID and GID to 0-60000 range. diff -r 62a42f14436b -r 99ced55c1ca7 src/w32.c --- a/src/w32.c Sat Apr 05 15:03:42 2008 +0000 +++ b/src/w32.c Sat Apr 05 15:24:01 2008 +0000 @@ -637,8 +637,6 @@ the_passwd.pw_uid = *get_sid_sub_authority (user_token.User.Sid, n_subauthorities - 1); - /* Restrict to conventional uid range for normal users. */ - the_passwd.pw_uid %= 60001; } /* Get group id */ @@ -656,8 +654,6 @@ the_passwd.pw_gid = *get_sid_sub_authority (group_token.PrimaryGroup, n_subauthorities - 1); - /* I don't know if this is necessary, but for safety... */ - the_passwd.pw_gid %= 60001; } } else