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 Date: Fri, 4 Jan 2002 11:09:57 +0100 (CET) From: david DOT sannier AT netcourrier DOT com To: cygwin AT cygwin DOT com Subject: id / mkpasswd [2] Mime-Version: 1.0 X-Mailer: Medianet/v2.0 Message-Id: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g04AAKD04434 > [...] > > Nope. The datatype uid_t is equivalent to unsigned short (16bit). > The mkpasswd tool doesn't take that into account when generating > the uids, unfortunately. > > Corinna So, it's just a storage problem of the uid... In my memory, the unix datatype uid_t is a long ? no ? In the case I've mentioned yesterday, if an other user already has the id 43833 (which is probably the case), Is there a way to log, in the same time, him on his own account and me on mine ? I've seen that mkpasswod works with int, the value returns by NetUserGetInfo is a DWORD -> ok (-long would be better (platform-independent), but...-) mkpasswd use the entire information NT returns so : Why 32 bits have not been chosen for uid_t too ? Thanks David ---------------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com Téléphone/Fax : 08 92 69 00 21 (0,34 E TTC/min - 2,21 F TTC/min) Minitel: 3615 NETCOURRIER (0,15 E TTC/min - 1,00 F TTC/min) -- 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/