delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/05/19:14:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Server-Uuid: A6C4E0AE-A7F0-449F-BAE7-7FA0D737AC76
MIME-Version: 1.0
Subject: Passing domain credentials for a non-domain machine (similar to mapping drives through the Windows shell)
Date: Wed, 5 Sep 2007 16:13:28 -0700
Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD9030501D20C@NT-IRVA-0750.brcm.ad.broadcom.com>
From: "Joseph Koenig" <jkoenig AT broadcom DOT com>
To: cygwin AT cygwin DOT com
X-WSS-ID: 6AC1E7932M8424274-01-01
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 l85NDqx4021872

I have a desktop that I use to access a share with domain credentials
despite not being on domain. So when I map a drive, I map it under
"domain\user" and give it the password. This drive is mapped as Z.

When I use cygwin to work on those files, it does not inherit the
permissions that I mapped the network drive under and instead insists on
using my local windows user and password (generated with mkpasswd)
rather than what I mapped Z as.  

Is there an easy way to manually edit the /etc/passwd file or change how
cygwin reads the mapped volume to get it to use the same permissions
that the windows shell is using? 

(I searched the archives for this....I'm sure it's been answered but I
couldn't find anything - I apologize....)

-j


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