mkpasswd - cannot contact Domain Controller

J S vervoom@hotmail.com
Thu Jan 24 06:24:00 GMT 2002


Looking at the code then, it seems to bomb out in main when it gets to:

if (print_domain)
  {
    if (domain_name_specified)
      rc = netgetdcname (NULL, domain_name, (LPBYTE *) & servername);
    else
      rc = netgetdcname (NULL, NULL, (LPBYTE *) & servername);
    if (rc != ERROR_SUCCESS)
      {
        print_win_error(rc);
        exit (1);
      }

The problem is with the call to netgetdcname which returns the name of the 
primary domain controller. This works on my computer (which is DHCP enabled 
and seems to configured for a Primary WINS server).
My colleague has a fixed IP address, but I can't see any Primary WINS server 
configured when I issue an IPCONFIG /ALL.
Is the PDC not supposed to be configured for a fixed IP address do you know?

JS

_________________________________________________________________
Join the worldÂ’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.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/



More information about the Cygwin mailing list