delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.6375.0 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | mkpasswd and uid problem with domain accounts (16-bit wrapping?) |
Date: | Tue, 27 May 2003 13:35:30 +1000 |
Message-ID: | <1395B4B334FCC143B36AF788E68B63811E3BE9@ausyms21.ca.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Reddie, Steven" <Steven DOT Reddie AT ca DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 27 May 2003 03:35:30.0415 (UTC) FILETIME=[059B7FF0:01C32401] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h4R3ZpQ13759 |
I'm having problems with uid's which I think is due to 16-bit wrapping. I was recently transferred to a different domain and so ran "mkpasswd -d -u myusername newdomain" and got back an entry with a uid=133500 due to the tailing end of the SID being 123500. I added this line to /etc/passwd. My id get's reported as 2428 and it doesn't resolve to my username. It seems that the value is wrapped to 16-bits. If I change the uid value in /etc/passwd to 2428 everything seems to work. I had some difficulty determining this at first and was wondering if it's expected or a bug. The domain that I am now on would have well over 20,000 accounts and maybe far more, so this is why the uid is calculated as such a high value. Does anyone have any further info? Regards, Steven -- Steven Reddie <Steven DOT Reddie AT ca DOT com> Development Leader - eTrust ETPKI Computer Associates Pty Ltd (Australia) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |