delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/10/18:31:29

X-Spam-Check-By: sourceware.org
X-BigFish: V
X-MS-Exchange-Organization-Antispam-Report: OrigIP: 204.180.196.11;Service: EHS
MIME-Version: 1.0
Subject: RE: Non-trusted domain user causes mkpasswd and mkgroup to fail
Date: Tue, 10 Jul 2007 18:31:47 -0400
Message-ID: <CA77FC40E7A2D24695CF3C790BB73185DB0D4A@DOVMS10001.goss.gossinternational.com>
In-Reply-To: <70952A932255A2489522275A628B97C304BA3585@xmb-sjc-233.amer.cisco.com>
From: "Long, Phillip GOSS" <Phillip DOT Long AT gossinternational DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l6AMVH6q015876

Matt Seitz (matseitz) wrote:
>"Long, Phillip GOSS" <Phillip DOT Long AT gossinternational DOT com> wrote in
>message
>news:<CA77FC40E7A2D24695CF3C790BB73185DB0A70 AT DOVMS10001 DOT goss DOT gossinte
>rna
>tional.com>...
>>Maybe if U map a drive to a share on a machine in the neopath domain
>>using a neopath domain account, the security token your process gets

	[snip]

>When I first ran into this, I had already used Windows Explorer to
>map a
>drive letter to a file server in the non-trusted domain.  However,
>"mkpasswd" did not use that existing SMB session.  Instead it was

	[snip]


I did a little poking around in old '.bash_history' files, and if
what I found combined with my memory (always questionable!) is
accurate, what I did was to use 'runas' in a CMD window to log on as
the user in the other (untrusted, IIRC) domain and run 'mkpasswd'
and 'mkgroup' from there, with the output re-directed to a temporary
file.  The accounts from there can then be added to /etc/passwd and
/etc/group.  It's not much, but HTH!
 
--------------------------------------------------------

Goss ... Innovation for Business

NOTICE: This e-mail and any attachment(s) may contain confidential and proprietary information of Goss International Corporation and/or its subsidiaries and may be legally privileged. This e-mail is intended solely for the addressee. If you are not the addressee, dissemination, copying or other use of this e-mail or any of its content is strictly prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail and any copies. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender. No contract may be construed by this e-mail.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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