delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/13/14:41:46

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=hLb6Ug7MNircOZzq2N8l+uQv9VYDn9EkdgQumTLV5bMpwNEavB8qG
QIrFNN9uH5nwWzreCQVtHEw8QuaJ5OB7/+unYBY5spfvPQj43f4+uryDiUuXmsiQ
BpR65nnjnQ3Wc3WF5kQRXAL/Xk6JtjC/aCwVj6EcNRnD/UvUoOZk2M=
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=7Oh1Tvvd1dSOtwLeezup25Nntaw=; b=bjLCw/4owib4WOMcTsi4S8Mpsmup
y0bvZWrHLbBbAYXexULQ7Sjz/8kLvzJIYtynoizCUYSEbozht1hs28910SWVLf/9
XcRUSkSiRfEappVrn30KztxMzk07dCwI2+1CR8CYsfxssMAaGgEi3I3vFDhgiw2a
Uc1R++xIvGddft8=
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_20 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 13 Feb 2014 20:41:26 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140213194126.GP2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <25054235 DOT 20140213225923 AT mtu-net DOT ru>
MIME-Version: 1.0
In-Reply-To: <25054235.20140213225923@mtu-net.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)

--yLaBmHMi4cq+C/u4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 13 22:59, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>=20
> >   The group attributes utilized by Cygwin are:
>=20
> >     cn                 If set, will be used as Cygwin group name.
>=20
> sambaPrimaryGroupSID

Apples/Oranges.  "cn" is used as the Cygwin group name for an existing
Windows group.  It's just a name change.   I don;'t know if anybody is
interested in this at all, but it was possible with /etc/group.

For instance, you just hate the group name "Domain Users", so
you set the cn attribute to "HiveAnts", and Cygwin will use the
name "HiveAnts" as Cygwin user name.

> ?
> (Yeah, I have Samba3/LDAP domain...)
>=20
>=20
> >   The <cygwin .../> string can start at any point in the comment, but
> >   you have to follow the rules:
>=20
> >   - It starts with "<cygwin " and ends with "/>".
> >   - The "cygwin" string and the key names have to be lowercase.
> >   - No spaces between key and "value", just the equal sign.
> >   - The value must be placed within double quotes and it must not
> >     contain a double quote itself.  The double quotes are required
> >     for the decimal values as well!
>=20
> >   CMD example:
>=20
> >     net use corinna /comment:"<cygwin home=3D\"/home/foo\"/>"
>=20
>   net user corinna /comment:"<cygwin home=3D\"/home/foo\"/>"
> ---------^

Yup, shame on me.

> >   Bash example (use single quotes):
>=20
> >     net use corinna /comment:'<cygwin home=3D"/home/foo"/>'
>=20
> Same as above. (I'm actually surprised, it works, though.)
>=20
> > However, setting up winbindd isn't for everybody, and it fails to map
> > Windows accounts to already existing UNIX users or groups.
>=20
> Oh?... it really depends on the curvature of admin's hands.
> Properly setup Samba accounting transparently map users through PAM.

As I wrote.  It's not for everybody.  I never managed it :}


Corinna

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

--yLaBmHMi4cq+C/u4
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJS/R/mAAoJEPU2Bp2uRE+gZs0P/jbRDgaP5M/ndwA4Stj230h4
x8hew1S1WG0XoW4Yg8pJf5U0LsjHl1dAORjiKjWGci+HuclM3MYMFSjeLfR8/ZVa
WYN7cPcWqkJjwwpbkmCHZYlTFeryX4weO5arZscltyp3MXgQnAmIsBG8IAzilcpb
vAGJ3q5PaNVsQLZoqHRQyxgXMWN53UzOwVIbZBhKnqm4bFwfJcn5kdDJQBhrTD2e
0A2UiT9q8Xzw+QULLvI7WnljfygqL/+nS+5tQJ2R5AR/KruXSkB0Wu7bA3B+Pw7U
k7szHHsi8n82h4D/1W1O6Gya63QPhiCGGyPjtg1LWbyP7VN4MOOVw0KgKk8SKFcY
FLtNxaqaONNyGMmWdAMdGjBc93+iqNZvqwn5eX1MLa7P8w9YzbHueV4M87K/h99T
Z6lhfIKoLoMacdwn9pBUGBYyatf1EPpw5mLtO4H+nVFszKSivZB6O3/mB6nQMsxx
eJKGz6jq6eGHMEA59u3wqtw5mKBpraHaaEcDeuktA6kRSvRFJ4jsfd3fzjekx21J
QUECF4g4b8PUPPO8919enmT2ZxFMv3pStXAnKuEnu1o/9XpNNMEaZXGc5GOwV5tF
+a/oL9Ib4I/h15746lnzzUaHHwD+s0X8VIu6r5ibyAPqH7c6ZFbqeVh/a0VeFUYV
9rgY9MtE9QvWeATrX/Dq
=my7k
-----END PGP SIGNATURE-----

--yLaBmHMi4cq+C/u4--

- Raw text -


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