delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/13/07:57:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=j1T88a3kXrS6VMm7nscqv6P4krNvVzVG7n2K0a5Ok16ovkTEvpk2d
OxWtNuI7axuYdg/0cmmraThGiAWYaiDO86NZoBlwK2zJNZTJY/U0j+rJ/YlQWZV6
WUT5P/+5xlXViRSG7YjaXe2G4i2eH0kxtgxOVjoOeV0E8d98l2gfxI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=36EB73qd6B0OOCZ5ZthJWkCCBHM=; b=KJBCwPKxHh+xnS7aSzf6AGv7Wbsd
V2D2Cp5i06VHJ50TTOXjb9g3iPiVITNVPUJ1lrGvCO763mg/FwlYc1Kmr6x1OvkM
FgQLcflhqNmM6AoKaFbuswEIGhk+trpWzPbGkhrdX26Gd6AsMFvBFaYcbws2kME0
/Un7BAu2zmmmlEs=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_40 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 13 Jan 2015 13:56:48 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003 (Christmas/New Year release)
Message-ID: <20150113125648.GV15791@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20141217131626 DOT GR10824 AT calimero DOT vinschen DOT de> <87oaqynpzq DOT fsf AT Gertrud DOT fritz DOT box> <20150107174122 DOT GB4190 AT calimero DOT vinschen DOT de> <20150108171825 DOT GB15791 AT calimero DOT vinschen DOT de> <8761cez7qi DOT fsf AT Rainer DOT invalid> <20150112103834 DOT GA15213 AT calimero DOT vinschen DOT de> <loom DOT 20150113T124708-54 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20150113T124708-54@post.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--ggdAeHltlv4tpqCr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 13 12:02, Achim Gratz wrote:
> [using the 20150113 snapshot already]
>=20
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > The leading slash is in integral part of the "path" scheme,  The above
> > is not recognized as valid entry at all.
>=20
> It doesn't work differently now that I've added the slash, though.  To so=
lve
> the problems with the server one must re-start both cygserver and sshd af=
ter
> changing the configuration.  I think it's only cygserver, though, so is
> there a signal that one can send to have it invalidate the cache and re-l=
oad
> the configuration like some daemons on UN*X do?

No.  How often do you change such a central setting as the db_home
setting for all users?

> In any case, the code seems to prefer the mapped drives.  I don't know how
> it arrives there, an AD user having a mapped home / roaming profile has t=
he
> UNC path available as the homedirectory attribute and the drive latter to
> map to is the homedrive attribute.  These two attributes are missing from
> accounts that only have local user profiles.

I thought it's clear how Cygwin does it.  Here it is:

  Is homeDrive non-empty?
    If yes, convert to POSIX and use as $HOME.
    If not, is homeDirectory non-empty?=20
      If yes, convert to POSIX and use as $HOME.
      If no, ask the local computer for the user's profile directory.
        If it has one, convert to POSIX and use as home dir
        If not, fallback to /home/$USER.

> This is problematic for two reasons: it brings in the standard posix=3D0 =
mount
> option via the cygdrive prefix

...which you can change in /etc/fstab.

> and when trying to log in via SSH onto a
> server the drive mapping is not established unless that user has a desktop
> session open on the server.

Right, but there's nothing Cygwin can do about it.  It means, you can't
use this db_home setting if you use ssh sessions, or you use password
authentication (real, or via passwd -R) and mount the drive in a profile.

Btw., what about my TMP/TEMP question?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ggdAeHltlv4tpqCr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUtRYQAAoJEPU2Bp2uRE+g3VUP/15T0xu16+Yv4ZQD/xbE/NTN
QJ8WoUK1jntQ8mfMr3gCWuii5ef3KBKvoGz/RRBkQl5ZHiS0CanCXge/etafGkdn
vk1+/R8EkFFudiCoVRtUcFP0LfMRQ1m4HCvng9q+IT1ngWGphw6fyP0g84JHwSfC
52rhYLXnDeesJWxLZ7xmIFMcvTuf7vNKNxBJ3CiArmCERSOcjlqh9Z7nVpjXeOXu
VGhtLa6o0GAH/Cxw5+U0uB7kgAgcXleD9pEFm/UJjBFZaHgzh1DYGf24/3JflYN7
/P4AT0hrdFEo2CF882ImBTSukY4LUFxiN2LZ2U8mwmSb6YAo/vsmaesT5WlQU83o
moAE66mvd6FJidovcdgQlgPDgxV08yx/wz8xUOQhbMw9NrXVFTv79r35Be8HMp2J
br+brXX0gVA9PFN66BnjTDzMicydy/aqsVFjm8hqjhy+KhEAztzR1i9mo/DMKZ79
Zv94c5588INB2lAlVuJqDYTWefhgpSFE8kTANHnc2M/aECRTKK/aHTRZI0anHIYd
By/1d2Bx+6gSxXfSG1zlc58HBsqpHdW17g0XFBFPhXlB+Ppuu70WsSYCOrH4XrkF
h45bVbhqH5DlMSKh+JHbUr/tA6wPFV8h/vhY2AVcgfJO5sJsYTOlbu+o5sCOfZBW
W1yatv0qVhnjh1SYSLKh
=3o85
-----END PGP SIGNATURE-----

--ggdAeHltlv4tpqCr--

- Raw text -


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