Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3E66D831.7030901@hp.com> Date: Thu, 06 Mar 2003 14:10:09 +0900 From: Keith Hopkins User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: fred_ulmer AT agilent DOT com Subject: 1.3.20: bug: UID over 65536: "I have no name!" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi! 1.3.20-1 on Win2k, downloaded 20030306. I saw this when a friend of mine, and myself were trying to install 1.3.20 yesterday (dl, then install from dl). The install would go fine, but when you started the shell, $UID would have dropped the high bits from the NT-DOMAIN UID. For example, if my friend's NT-DOMAIN UID (native win2k) was 65558, then his $UID would become 22. On my machine (different company / NT-DOMAIN), the NT-DOMAIN UID is 108293, but the $UID is 42757. The big problem was that after running "mkpasswd -d -u USERNAME NT-DOMAIN >> /etc/passwd", you get the message: id: cannot find name for user ID 42757 I have no name!@EJP0874 ~ $ So, Nothing matches for the NT-DOMAINs in /etc/passwd. Without running mkpasswd, my friend would get permission errors when he starts his shell. The workaround I found was to change the UID to drop the high bits in /etc/passwd. (change UID 108293 to 42757 for my user). Thoughts? Comments? Suggestions? Help? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/