changeset 93699:99ced55c1ca7

(init_user_info): Don't restrict UID and GID to 0-60000 range.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 05 Apr 2008 15:24:01 +0000
parents 62a42f14436b
children 6be00cd67c36
files src/w32.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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