delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/24/17:28:58

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=sBjJ/qtnTtdn8kwrFzo/0oy7ys1iRSOBJrz3IU4g9WFrhEvuKI2ql
YCG9TUrzVlInl5hhauHCD03AlmLI+CxNAIqmEghiiH0T+ujnGuqzweZi54tX+FAF
18ikPRanwwsUMP5AtYc/qhMt9HhcN45n5w/3ATtjXKVzCnsI+A6kqU=
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=OoFG44U4Wo3mAPc3LZ3B8VIqvDE=; b=U4w6tZA9ULgyFMEaoIQlKH9kPCYo
sjfIgNbrsIjoCTPkuhloU92eKGjbURSxC6Ijy8WwU6SCbEPDZtOiIM9jyv6bJo/s
oPlQ0dt0AtUrVgmJ7Em50B0evjLvFZNfp6M80qGellU4tO9n38XlWpGQTmSIoJu0
1kY9Z9F/gH+J9Zo=
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.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 24 Mar 2015 22:28:38 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mkpasswd: option to force the 'primary' domain?
Message-ID: <20150324212838.GA3017@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <550C0B53 DOT 6080201 AT thales-esecurity DOT com> <20150320181011 DOT GB12906 AT calimero DOT vinschen DOT de> <5511C913 DOT 8020006 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <5511C913.8020006@tlinx.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Mar 24 13:29, Linda Walsh wrote:
> Corinna Vinschen wrote:
> >On Mar 20 11:58, Tim Magee wrote:
> >>Now then,
> >>
> >>Since Cygwin 1.7.34 dropped, mkpasswd has been problematic for us.  Our
> >>problem is with the way user names pulled from outside the primary doma=
in
> >>get decorated.  My question is: will there ever be a way to tell
> >>mkpasswd/mkgroup "make <some non-primary domain> the one whose users get
> >>undecorated names"?
> ----
> >I'm not planning this.  The idea is that mkpasswd/mkgroup create account
> >names compatible with the "db"-based accounts and everyhing else is left
> >to post-creation manipulation.
> ---
>     I never quite managed to understand this -- as my pw/grp files on
> my client machines were already in sync with my domain setup and
> worked as it would in a real Win Domain (i.e. Domain applied when I signed
> into a machine that wasn't the domain controller and was using domain
> credentials).  If I logged into a machine with a local account, there has=
 never
> been a domain name to have to bother with -- so for me user-logins were p=
refixed
> with the domain only when they were in a domain.
>=20
> This has been the way windows has worked for as long as I've run a domain=
 server --
> if a local machine is not in a domain, then it's username-only, but if it=
 is
> in a domain, then I'd need to type-or-add the local-machine name to NOT l=
ogin
> via the domain creds.
>=20
> For local accounts, the RID=3D=3Dthe UID, for domain accounts the RID=3D=
=3Dthe UID on
> the domain controller.
>=20
> Do I understand that cygwin is no longer compatible with window's (and
> samba's) naming convention?  That would be a pain.

Did you go to the trouble to read the new documentation under
https://cygwin.com/cygwin-ug-net/ntsec.html?  It's all explained there.
If you don't like it, use passwd and group files with changed user names.


Corinna

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

--2tWkrNKppd65XSnD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVEdcGAAoJEPU2Bp2uRE+gsm0P/3RrNqBnZ4+CpvVOSagnxYUl
F5JwF62zzI5+7UCyEcVNu6j1yTXfeEbrA/grhjCotmTgV62xBGZCEovLxmr+y1Uk
Y7mmkFnF/7ONw+5egzi/4n9KEttY6kpvCQ4Lli6vNeccQd6KRqZqujWt66DlmDcJ
Ff+tKbfpyxgagkCiS9eTDPLQRBNN9lC1V1OSHqnKg9FDENCkbOlVRc7x770I4ev7
qQ6v37HNr9SH7x3gVutlcDaTam7koo+vrf3VsM2JmbGk954pkTgUFoNME9Z1+FH3
PErosXD1CkmAfpDAHVQ081CWGnuA0+OowikjF4mS9ZGdiAHS7VYZ+OWRh/cJKk8W
zNYm1XvzlVe3ilvGrm5xxOMRWnYzEU/4lYGrhHSDHEA3ijt2XMiNCOtloIUbeZAA
PWQQjXO7AA4fQKJvvNjBGJMFjai3eV1/YORgSpSjpdrMx0a0hEGh9LRIoTf16ayz
YvDS5rSqu7Q8cvVsY4QSCafcWzNPFU3GQfpMlp5g+XScdpcL+OiIEMdwonnpb/Qj
BIutAcy4SpNHUhpQNjITqDCSUwEQkhm2wZRFd2wrlhJenCoD3LgD52vEIvwXEF3C
cq1LxsseFSlE5tVq2LAvjL3nAtEO1G6f63/w2epwyMRLvObz2a1MM8zV3Kq+8MMN
ZYAMNAqOClyBEA8+siFx
=hthk
-----END PGP SIGNATURE-----

--2tWkrNKppd65XSnD--

- Raw text -


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