delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/08/15:27:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
content-class: urn:content-classes:message
Subject: RE: mkpasswd -d
MIME-Version: 1.0
Date: Mon, 8 Oct 2001 15:27:15 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
Message-ID: <3FC07C3DD75AD94BB5B9C52ABD033763023CEB@ohemail01.columbus.labbook.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: mkpasswd -d
Thread-Index: AcFQLm4wOHQAwuRpQBChV+l1yAhiegAAFkAQ
From: "Terry Roe" <terry DOT roe AT labbook DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f98JRaR27466

Thank you for your response, Corinna.

It is an active directory server.

I looked at mkpasswd.c and see that it
calls NetUserEnum at level 3 and this is 
returning access denied.

MSDN says "Only members of the Administrators
or Account operators local group can successfully
execute NetUserEnum at levels 1 and 2. No special
group membership is required at level 0 or 10."

I'm looking at it further to see if mkpasswd.c
has to use level 3 and I'll talk with my
administrator to see if he can grant the
permission I need.

Thanks,
Terry


> -----Original Message-----
> From: Corinna Vinschen [mailto:cygwin AT cygwin DOT com]
> Sent: Monday, October 08, 2001 3:21 PM
> To: cygwin AT cygwin DOT com
> Subject: Re: mkpasswd -d
> 
> 
> On Mon, Oct 08, 2001 at 12:58:59PM -0400, Terry Roe wrote:
> > I cannot run "mkpasswd -d"
> > 
> > Microsoft Windows 2000 [Version 5.00.2195]
> > (C) Copyright 1985-2000 Microsoft Corp.
> > 
> > C:\>set CYGWIN
> > CYGWIN=binmode ntsec tty
> > 
> > C:\>cd \cygwin\bin
> > 
> > C:\cygwin\bin>mkpasswd -d
> > Everyone:*:0:0:,S-1-1-0::
> > SYSTEM:*:18:18:,S-1-5-18::
> > Administrators:*:544:544:,S-1-5-32-544::
> > Access denied
> > 
> > C:\cygwin\bin>
> > 
> > I am logged into the domain.  This did work several
> > months ago.  Our primary domain controller has changed.
> > I'm guessing it's a domain controller security policy
> > issue, but I don't know what policy to change.  Does
> > anyone know or have suggestions?
> 
> The PDC is probably an active directory server and the
> administrator has restricted the access.  I have no
> idea about the settings needed but it's very likely a
> setting on the PDC.  You will probably not be able to
> change that on your workstation.
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails 
> regarding Cygwin to
> Cygwin Developer                                
> mailto:cygwin AT cygwin DOT com
> Red Hat, Inc.
> 
> --
> 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/
> 
> 

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019