www.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://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Message-Id: | <200503032201.j23M1lQF014378@tigris.pounder.sol.net> |
To: | cygwin AT cygwin DOT com |
From: | cygwin AT trodman DOT com (Tom Rodman) |
Subject: | Re: [SPAM] mkpasswd (249): [5] Access is denied. #workaround & speculation on cause |
In-reply-to: | <200503022003.j22K3tl8007452@tigris.pounder.sol.net> |
References: | <200503022003 DOT j22K3tl8007452 AT tigris DOT pounder DOT sol DOT net> |
Date: | Thu, 03 Mar 2005 16:01:46 -0600 |
X-IsSubscribed: | yes |
The workaround I'm considering is: to build a list of only the user logon names we need for /etc/passwd (a fairly small subset of the domain), and then write a shell script (driven by this list) to repeatedly call "mkpasswd -l -d -u USERNAMEHERE >> /etc/passwd". A co-worker speculates that Microsoft is "throttling" the queries to the domain controller - allowing no more than 1500 or so account records at a time; in order to prevent overloading the AD server. I'd still be interested in what intelligent question I should ask of our enterprise active directory admin though.. On Wed 3/2/05 14:03 CST Tom Rodman wrote: > When running > > mkpasswd -l -d > > I get the error: > > mkpasswd (249): [5] Access is denied. > > See below bash session: > > scmcron AT c7mkes132 ~ > $ date; uname -a > Wed Mar 2 10:37:14 CST 2005 > CYGWIN_NT-5.2 c7mkes132 1.5.13(0.122/4/2) 2005-03-01 11:01 i686 unknown unknown Cygwin > scmcron AT c7mkes132 ~ > $ mkpasswd -l -d >/etc/passwd > mkpasswd (249): [5] Access is denied. > > scmcron AT c7mkes132 ~ > $ echo $CYGWIN > binmode tty ntsec smbntsec > > The command *does* list all local users ok ("mkpasswd -l" has no > error), "mkpasswd -d" takes minutes to error out, but does output a > substancial subset of the domain users. I've also tried uninstalling > cygwin and loading a much older version that I trust; I get the same > error. > > This is the *first* time I've installed cygwin in this particular > active directory domain. It works in two other active directory > domains just fine. I'm not a domain administrator - what rights do I > need ask our corporate admins to give my account so "mkpasswd -l -d" > completes w/o error? (I *am* a local administrator.) -- 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 |