www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/29/07:15:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38426CB2.434F643E@vinschen.de>
Date: Mon, 29 Nov 1999 13:08:18 +0100
From: Corinna Vinschen <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Keith Starsmeare <kxs AT bigfoot DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: mkpasswd -d error
References: <19991123162157 DOT 88580 DOT qmail AT hotmail DOT com> <383AC7E0 DOT 9055CC2A AT vinschen DOT de> <19991129094303 DOT 64189 DOT qmail AT hotmail DOT com>

Keith Starsmeare wrote:
> 
> I'm now using the 19991122 snapshot but even that mkpasswd gives me an
> error:
> 
>   > mkpasswd -d $USERDOMAIN
>   Cannot get DC, code = 1355

Are you sure that your login is a login of a domain user?

I have checked it out and "it works for me".

My scenario:

Computername of Workstation: CVHP
Name of Domain where CVHP is member of: VINSCHEN

Login on Workstation as user "corinna" of Domain "VINSCHEN":

$ echo $USERDOMAIN
VINSCHEN
$ mkpasswd -d $USERDOMAIN
Jeder:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrator::500:513:,S-1-5-21-...
[etc. as expected]

Login on Workstation as user "corinna" of Domain "CVHP" (as local user):

$ echo $USERDOMAIN
CVHP
$ mkpasswd -d $USERDOMAIN
Jeder:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Cannot get DC, code = 1355

But, logon as local user as well:

$ mkpasswd -d VINSCHEN

works as expected again!

You see? Unfortunately, I have no chance to test in an environment
with more than one domain and trusted domains etc.

BTW, the code 1355 has the meaning: 

"The specified domain either does not exist or could not be contacted"

and the Computername of the local computer is on one hand used as
$USERDOMAIN but is on the other hand not contactable as DC. IMHO,
this is not good but it is so.

Hope, this helps,
Corinna



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019