delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/19/11:41:13

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
Subject: RE: mkpasswd and mkgroup failures
MIME-Version: 1.0
Date: Thu, 19 May 2005 11:23:00 -0400
Message-ID: <3D848382FB72E249812901444C6BDB1D03E04FCB@exchange.timesys.com>
From: "Robb, Sam" <sam DOT robb AT timesys DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j4JFfC3f023967

> On May 18 18:10, Robb, Sam wrote:
> > So, she *should* have had the username and id for a domain
> > user.  Something in cygwin (mkpasswd, cygwin1.dll, etc.)
> > seems to think she's the local user with the same username
> > for some reason.
> 
> This isn't exaclty a Cygwin problem.  mkpasswd and mkgroup 
> are basically
> just calling some Win32 NetXXX functions to request the information. 

Yah.  I just spent some time looking at the source for
mkpasswd, and it doesn't look like there's a whole lot
there that could go wrong :-/
 
> Of course there could be something wrong in mkpasswd/mkgroup, but the
> error message you see is a result of one of the Win32 Net calls.  It
> looks suspiciously as if she was logged in as the local user, 
> but you'll
> never know if you're not able to reproduce it in some way.

I know - but as I said, we made sure she was logged in to the
domain account.  I'll poke around in MSDN and see if MS has
anything to say about problems with local accounts that have
the same name as domain accounts...

-Samrobb

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


- Raw text -


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