delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/11/22:00:53

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
Message-Id: <4.3.1.2.20020811215042.021f3698@pop.rcn.com>
X-Sender: lhall AT pop DOT rcn DOT com
Date: Sun, 11 Aug 2002 21:56:24 -0400
To: Big Husky <bhusky AT creative DOT net>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: mkpasswd -d doesn't return all users from NT domain
In-Reply-To: <5.1.1.6.2.20020811151040.00b4fb10@imap.creative.net>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20020806211252 DOT 021b35b0 AT pop DOT rcn DOT com>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020806091414 DOT 00ba0e78 AT imap DOT creative DOT net>
Mime-Version: 1.0

Perhaps the error message is just hiding. ;-)

If you don't require all users, try using mkpasswd -d -u <username>.  If
you want all 400, you'll need to dig further. ;-)  The thread I was thinking
of when I responded (which I just dug up for you) was:

   "mkpasswd (Win2K) cannot find the domain controller"

This may or may not prove useful for you.  But I looked it up for you on 
the chance that something there may be of use.

Good luck,

Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 06:14 PM 8/11/2002, Big Husky wrote:
>Well, I spent more time searching in the mailing list archive and on google and couldn't come up with posts that had the same issue.
>Most of the posts I could find would get an error message when they tried to use mkpasswd -d
>
>I don't get an error message but I actually get the first 12 entries of the domain user list. Same thing when I try the mkpasswd -l on the actual Primary Domain Controller. Again I don't get an error message but the first 12 users of the ~400 users.
>
>Thanks again for any info/help/suggestion
>
>Big
>
>At 8/6/2002 09:16 PM, you wrote:
>>At 12:20 PM 8/6/2002, Big Husky wrote:
>> >Hi there
>> >
>> >we have a windows NT 4.0 domain. I installed the newest cygwin on a Windows 2000 Professional PC and also tried the same thing on a Windows XP and on the Primary Domain Controller which is running Windows NT 4.0
>> >
>> >There are approx 400 Users in the domain.
>> >
>> >When I run mkpasswd -d    (or for that matter mkpasswd -d domain_name) I get the first 12 users from the domain
>> >
>> >No error message, the output just stops in the middle of the users whose names are starting with the letter 'a'
>> >
>> >Even on the domain controller if i do the mkpasswd -l    I get the same output of the first 12 users.
>> >
>> >Does anyone have any hint/idea/information on what I could do to get all users from the domain (the user manager from windows shows all users properly. Also if I use other programming/domain tools I always get all ~400 users, just not with mkpasswd in cygwin.)
>> >
>> >Thanks in advance
>>
>>
>>You might want to check the archives on this topic.  There was some
>>discussion of the different domain controller configurations and it's
>>affect on mkpasswd.  You might find some of that discussion useful for
>>your problem.
>>
>>Good luck,
>>
>>
>>
>>Larry Hall                              lhall AT rfk DOT com
>>RFK Partners, Inc.                      http://www.rfk.com
>>838 Washington Street                   (508) 893-9779 - RFK Office
>>Holliston, MA 01746                     (508) 893-9889 - FAX
>


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