X-Spam-Check-By: sourceware.org
X-IronPort-AV: i="4.16,509,1175497200";     d="scan'208"; a="7063983:sNHT3023263446"
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="US-ASCII"
Subject: Non-trusted domain user causes mkpasswd and mkgroup to fail
Date: Fri, 6 Jul 2007 11:54:32 -0700
Message-ID: <70952A932255A2489522275A628B97C304B1B6A4@xmb-sjc-233.amer.cisco.com>
From: "Matt Seitz \(matseitz\)" <matseitz@cisco.com>
To: <cygwin@cygwin.com>
Authentication-Results: sj-dkim-3; header.From=matseitz@cisco.com; dkim=pass ( 	sig from cisco.com/sjdkim3002 verified; );
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l66Ixlfx000993

I am trying to use mkpasswd and mkgroup to add entries for my user
account in an AD domain that is different my workstation login domain.
There is no trust relationship between the domains, and the user name is
different in each domain.  When I try this, I receive an error:

"matseitz@matseitz-wxp02 /etc
$ mkpasswd -d neopath -u seitz
mkpasswd (272): [1326] Logon failure: unknown user name or bad
password."

I took a network trace, and saw that "mkpasswd" appears to use my login
domain and user name (CISCO\matseitz) to access the "neopath" domain
controller.  This fails, because there is no trust relationship between
the "CISCO" and "neopath" domains.

Is there a way to tell "mkpasswd" to instead use "neopath\seitz" to
connect to the "neopath" domain controller?

--
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/


