This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: mkpasswd (Win2K) cannot find the domain controller
- From: "Gerald S. Williams" <gsw at agere dot com>
- To: "Jason Tishler" <jason at tishler dot net>, <cygwin at cygwin dot com>
- Date: Wed, 8 May 2002 13:55:45 -0400
- Subject: RE: mkpasswd (Win2K) cannot find the domain controller
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/