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

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
Date: Mon, 8 Oct 2001 21:49:10 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mkpasswd -d
Message-ID: <20011008214910.M12872@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3FC07C3DD75AD94BB5B9C52ABD033763023CEB AT ohemail01 DOT columbus DOT labbook DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3FC07C3DD75AD94BB5B9C52ABD033763023CEB@ohemail01.columbus.labbook.com>; from terry.roe@labbook.com on Mon, Oct 08, 2001 at 03:27:15PM -0400

On Mon, Oct 08, 2001 at 03:27:15PM -0400, Terry Roe wrote:
> 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."

Excuse me but I have MSDN right in front of me and I'm just looking
into the NetUserEnum() reference page.  There's no such text here.
It contains only the difference in security handling between NT and W2K
with AD.  Other functions like NetUserSetInfo() have such a hint, though.

Anyway, that's not helpful for your problem.  I'm just curious if I've
missed something.

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/

- Raw text -


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