This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
uid and gid for domain accounts.
- To: cygwin-developers at cygwin dot com
- Subject: uid and gid for domain accounts.
- From: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Date: 13 Apr 2001 01:39:11 +0900
- Reply-To: cygwin-developers at cygwin dot com
Corinna,
I noticed duplicate ids in the passwd file generated by
`mkpasswd -l -d'. For example, the entries for Administrator
each of a localhost and a domain has the same uid.
Administrator::500:513:,S-1-5-21-1830945627-1768298809-2076119496-500:/home/Administrator:/bin/sh
Administrator::500:513:,S-1-5-21-2025429265-1343024091-682003330-500:/home/Administrator:/bin/sh
A chmod will change the owner of a file from domain's Administrator
into localhost's Administrator because of these entries.
The group file generated by `mkgroup -l -d' has the same
problem. The gid of None conflicts the gid of Domain Users.
None:S-1-5-21-2025429265-1343024091-682003330-513:513:
Domain Users:S-1-5-21-1830945627-1768298809-2076119496-513:513:
I guess mkpasswd and mkgroup should add a large number to the
ids for a domain, and it would be fine that an user can specify
the number with an option.
For example, if mkgroup -l -d -b 10000 generated the following
entries, the problem would be solved.
None:S-1-5-21-2025429265-1343024091-682003330-513:513:
Domain Users:S-1-5-21-1830945627-1768298809-2076119496-513:10513:
How about this idea?
____
| AIST Kazuhiro Fujieda <fujieda@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology