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 |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Originating-IP: | [163.166.150.22] |
From: | "J S" <vervoom AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | mkpasswd - cannot contact Domain Controller |
Date: | Thu, 24 Jan 2002 14:22:28 +0000 |
Mime-Version: | 1.0 |
Message-ID: | <LAW2-F1270Qzfud7bqV0000a59b@hotmail.com> |
X-OriginalArrivalTime: | 24 Jan 2002 14:22:28.0741 (UTC) FILETIME=[8D8BFB50:01C1A4E2] |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |