| www.delorie.com/archives/browse.cgi | search |
| 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 |
| From: | "Gerald S. Williams" <gsw AT agere DOT com> |
| To: | "Jason Tishler" <jason AT tishler DOT net>, <cygwin AT cygwin DOT com> |
| Subject: | RE: mkpasswd (Win2K) cannot find the domain controller |
| Date: | Wed, 8 May 2002 13:55:45 -0400 |
| Message-ID: | <GBEGLOMMCLDACBPKDIHFGECPCIAA.gsw@agere.com> |
| MIME-Version: | 1.0 |
| 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 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |