Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com To: cygwin-developers AT cygwin DOT com Reply-To: cygwin-developers AT cygwin DOT com Subject: uid and gid for domain accounts. Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 13 Apr 2001 01:39:11 +0900 Message-ID: Lines: 32 X-Mailer: Gnus v5.3/Emacs 19.34 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology