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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <911C684A29ACD311921800508B7293BA037D2A05@cnmail> From: Mark Bradshaw To: "'cygwin AT cygwin DOT com'" Subject: openssh issue with UID's over 65535 Date: Mon, 14 Jan 2002 20:12:00 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" I have an issue with openssh and UID's over 65535. Similar things were discussed a bit back, but this is slightly different. Seems that sshd will die when a user with a UID too high logs in. The root cause of this is cygwin's use of an unsigned short for uid_t, instead of an integer. As the UID goes through the ssh server, session.c calls get_last_login_time (sshlogin.c) with an integer variable. When it hits get_last_login_time, however, it's squashed into a uid_t, which is too small for it. The uid changes and problems occur. I'm guessing it wouldn't be too swift to just change the definition in types.h. That oughta break lotsa stuff. Is there some clear path to getting uid_t changed to an int, or is there a different/better fix for this? Mark -- 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/