mkpasswd (Win2K) cannot find the domain controller
Gerald S. Williams
gsw@agere.com
Wed May 8 10:59:00 GMT 2002
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/
More information about the Cygwin
mailing list