delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/29/09:57:30

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: <19991129145623.88574.qmail@hotmail.com>
X-Originating-IP: [137.71.23.34]
Reply-To: "Keith Starsmeare" <kxs AT bigfoot DOT com>
From: "Keith Starsmeare" <keith_starsmeare AT hotmail DOT com>
To: "Corinna Vinschen" <corinna AT vinschen DOT de>
Cc: <cygwin AT sourceware DOT cygnus DOT com>
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> <38426CB2 DOT 434F643E AT vinschen DOT de>
Subject: Re: mkpasswd -d error
Date: Mon, 29 Nov 1999 14:58:32 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

I certainly am logged in from a domain.

I didn't realise that NT always gave a USERDOMAIN, so I believed that my
using the USERDOMAIN variable made it clear what I was doing!

We are in a multiple domain environment. My desktop computer is not it my
userdomain, maybe this is causing the problem. I have no problems using
"mkpasswd -d" with my computers domain name.

Mind you, how useful is it to periodically take a snapshot of the users in
the domain? There are lots of people in this domain and I'm sure that it's
quite a dynamic entity.

I'll leave this as an FYI that there is a problem. I've got it working for
myself and the other users that I'm interested in. I don't really need to
bother with the entire domain.

Keith

----- Original Message -----
From: Corinna Vinschen <corinna AT vinschen DOT de>
To: Keith Starsmeare <kxs AT bigfoot DOT com>
Cc: <cygwin AT sourceware DOT cygnus DOT com>
Sent: Monday, November 29, 1999 12:08 PM
Subject: Re: mkpasswd -d error


> 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