This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Non-trusted domain user causes mkpasswd and mkgroup to fail
- From: "Long, Phillip GOSS" <Phillip dot Long at gossinternational dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 10 Jul 2007 18:31:47 -0400
- Subject: RE: Non-trusted domain user causes mkpasswd and mkgroup to fail
Matt Seitz (matseitz) wrote:
>"Long, Phillip GOSS" <Phillip.Long@gossinternational.com> wrote in
>message
>news:<CA77FC40E7A2D24695CF3C790BB73185DB0A70@DOVMS10001.goss.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/