X-Recipient: archive-cygwin@delorie.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:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=BeulOp9XxckWI0nA
	QQo+qbhIo0jEueKGPZ4HB3CgG7yrFzhZuW4zHmRvaHbav5MfFAfdw1kOX7UJD6pV
	ghA5Zoq4vnFu7BE98WtEsaLUJSDZAqNcX0skTXjM1p17X+Dypyd+3JaA5sBLwy6N
	X64ucLfjx+ZQh526hSRGVhELPHE=
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:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=OxSjMscrBXsQJyPmcdUutL
	HG74o=; b=yFsNm9+dXJj4n3r4xe1N2RUagFoZYGXiYHsayxQPA4ZGOw7NxhDhT5
	xZnQbvmvZxpiHmCw15GHVH/9twqI3kfZjRisfN2m8OcAxgLVcKJ7F42D6pHkLtyq
	EI89JO3KZBL212xgvZgZArLaPRlbqCNqeRZg0N6ap2Wk0cgfw/vJU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Thu, 13 Feb 2014 22:59:23 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <25054235.20140213225923@mtu-net.ru>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: Testers needed:  New passwd/group handling in Cygwin
In-Reply-To: <20140213143849.GH2246@calimero.vinschen.de>
References: <20140213143849.GH2246@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

>   The group attributes utilized by Cygwin are:

>     cn                 If set, will be used as Cygwin group name.

sambaPrimaryGroupSID
?
(Yeah, I have Samba3/LDAP domain...)


>   The <cygwin .../> string can start at any point in the comment, but
>   you have to follow the rules:

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

>   CMD example:

>     net use corinna /comment:"<cygwin home=\"/home/foo\"/>"

  net user corinna /comment:"<cygwin home=\"/home/foo\"/>"
---------^

>   Bash example (use single quotes):

>     net use corinna /comment:'<cygwin home="/home/foo"/>'

Same as above. (I'm actually surprised, it works, though.)

> However, setting up winbindd isn't for everybody, and it fails to map
> Windows accounts to already existing UNIX users or groups.

Oh?... it really depends on the curvature of admin's hands.
Properly setup Samba accounting transparently map users through PAM.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 13.02.2014, <21:17>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

