Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BCAE28E.91914B84@syntrex.com>
Date: Mon, 15 Oct 2001 15:20:14 +0200
From: Pavel Tsekov <ptsekov@syntrex.com>
Organization: Syntrex Inc.
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Bui, Hung" <Hung.Bui@Nextel.com>
CC: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: How to make 'mkpasswd -d' a faster process?
References: <D456C897C3DBD311816F0008C716D05107BBC168@NHQNTEX02.nextel.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

When you login to you workstation do you login to
the localdomain (name for this is the same as 
machine name) or to the company domain ?

"Bui, Hung" wrote:
> 
> Dear Luke,
> 
> Thanks for your advise.
> 
> However, the problem is that the <domain> has more than 5000 entries.  I
> wonder if there is anyway to specify the exact entry that you want to
> retrieve the information for.  I do not understand how MS domain work, but
> should there be a way you can retrieve entry by keyword?
> 
> Thanks again,
> Hung.
> 
> -----Original Message-----
> From: Luke Bakken [mailto:luke_bakken@yahoo.com]
> Sent: Friday, October 12, 2001 4:50 PM
> To: Bui, Hung
> Cc: 'cygwin@cygwin.com'
> Subject: Re: How to make 'mkpasswd -d' a faster process?
> 
> Try specifying the domain to which you belong explicitly:
> 
> mkpasswd -d DOMAIN >> /etc/passwd
> 
> Luke
> 
> On Fri, 12 Oct 2001, Bui, Hung wrote:
> 
> > Dear all,
> >
> > I am a newbie to cygwin here.
> >
> > Recently, I installed cygwin 1.3.3.  I tried to turn on ntsec, however,
> when
> > I run:
> >
> > mkpasswd -d > /etc/passwd
> >
> > mkpasswd traverses the whole directory tree of my company to get
> everyone's
> > name.  I have it run almost all day and mkpasswd still has not found my id
> > yet.
> >
> > Is there any way to specify the 'user name' to be extracted from the
> domain
> > directory?  Is there a faster version of mkpasswd?
> >
> > BTW, using '| grep <username>' does not help because it takes as long to
> > traverse the whole directory.
> >
> > Thanks in advance,
> > Hung
> >
> > hung.bui@Nextel.com
> >

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

