delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/23/11:47:18

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Ken Turner" <kjt AT cs DOT stir DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Mapping of Windows Domains?
Date: Wed, 23 Jul 2008 16:46:27 +0100
Message-ID: <C5DEB10AA328412F936E383D23016DBF@Wampum>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-stir.ac.uk-MailScanner: Found to be clean
X-stir.ac.uk-MailScanner-From: kjt AT cs DOT stir DOT ac DOT uk
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

I've posted on this problem before
(http://www.cygwin.com/ml/cygwin/2006-11/msg00568.html) but now have a better
idea of what's going wrong. (I haven't supplied "cygcheck" output as my question
is generic.)

Our Unix file server uses the TAS program to deliver files via SMB to Windows
clients. Up to CygWin 1.5.18-1 this worked just fine. All versions of CygWin
since then give "permission denied" when trying to read these files. Changing
CygWin options (e.g. "nontsec", "nontea", "nosmbntsec", "notraverse") doesn't
help. Trying to set domain details in /etc/passwd doesn't help. I think the
problem is that CygWin after 1.5.18-1 got a lot stricter about checking domains
when checking permissions.

It turns out that these files are being served up with a fake domain name "D1"
(because our Unix server isn't part of a Windows domain). When I log in I am
authenticated against a real domain "D2". As a result, "D2\kjt" cannot access
files whose permissions are set for "D1\kjt". There doesn't seem to be any way
of influencing the choice of fake domain name "D1", so I need a client-side
solution.

Is there any way to get CygWin or Windows to map domains (e.g. to treat "D1" as
equivalent to "D2")? Thanks!


-- 
Academic Excellence at the Heart of Scotland.
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.


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