From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8737 invoked by alias); 8 May 2002 17:56:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8619 invoked from network); 8 May 2002 17:56:24 -0000 Received: from unknown (HELO alageremail2.agere.com) (192.19.192.110) by sources.redhat.com with SMTP; 8 May 2002 17:56:24 -0000 Received: from alcerelay.agere.com (alcerelay.agere.com [128.94.213.32]) by alageremail2.agere.com (8.10.2+Sun/8.10.2) with ESMTP id g48I0kS06253; Wed, 8 May 2002 14:00:46 -0400 (EDT) Received: from almail.agere.com by alcerelay.agere.com (8.9.3+Sun/EMS-1.5 sol2) id NAA13549 for ; Wed, 8 May 2002 13:56:20 -0400 (EDT) Received: from PAI820G1006951 by almail.agere.com (8.9.3+Sun/EMS-1.5 sol2) id NAA11518; Wed, 8 May 2002 13:56:19 -0400 (EDT) From: "Gerald S. Williams" To: "Jason Tishler" , Subject: RE: mkpasswd (Win2K) cannot find the domain controller Date: Wed, 08 May 2002 10:59:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-reply-to: <20020508131910.GB1700@tishler.net> Importance: Normal X-SW-Source: 2002-05/txt/msg00495.txt.bz2 Jason Tishler wrote: > $ mkpasswd -d -u user domain > What happens if you try the above command with user and domain replaced > as appropriate? >From BASH ($USERNAME and $USERDOMAIN are correct): $ mkpasswd -d -u $USERNAME $USERDOMAIN mkpasswd: [2453] Could not find domain controller for this domain. >From CMD: C:\cygwin>bin\mkpasswd -d -u %USERNAME% %USERDOMAIN% mkpasswd: [2453] Could not find domain controller for this domain. > I am writing a program using the LAN Manager API. I have a loop that > calls NetGetDCName() for each domain in a list. Some of the domains > are visible through WINS, and some aren't (I have LMHOSTS entries for > them). NetGetDCName() always succeeds for the WINS-visible domains; > it always returns NERR_DCNotFound for the LMHOSTS-visible domains. ... > Could your problem be similar to the above? I think this is a different problem, since we're not using LMHOSTS. -Jerry -- 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/