Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-19 Thread Andrey Repin
Greetings, Bill Stewart! > On Fri, Feb 15, 2019 at 3:48 PM Bill Stewart wrote: >> This means that when I test getent using the name "Admin", Cygwin >> finds the domain group: >> >> PS C:\> getent -w passwd admin >> admin::DOMAINNAME\admin:S-1-5-21-nn-n-n-nn >>

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-19 Thread Bill Stewart
On Tue, Feb 19, 2019 at 8:47 AM Bill Stewart wrote: > (a) Is this correct? > > (b) Is there a particular reason this order was chosen (instead of > local first, then domain, i.e., the usual Windows order)? Please disregard. I forgot the reason was to have the same behavior as the Windows logon sc

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-19 Thread Bill Stewart
On Fri, Feb 15, 2019 at 3:48 PM Bill Stewart wrote: > This means that when I test getent using the name "Admin", Cygwin > finds the domain group: > > PS C:\> getent -w passwd admin > admin::DOMAINNAME\admin:S-1-5-21-nn-n-n-nn > > I get that this is by design, bu

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-18 Thread Corinna Vinschen
On Feb 16 18:40, Corinna Vinschen wrote: > On Feb 16 09:15, Brian Inglis wrote: > > On 2019-02-16 08:33, Corinna Vinschen wrote: > > > On Feb 16 08:09, Brian Inglis wrote: > > >> On 2019-02-16 02:45, Corinna Vinschen wrote: > > >>> On Feb 15 14:51, Bill Stewart wrote: > > On Fri, Feb 15, 2019

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-16 Thread Corinna Vinschen
On Feb 16 09:15, Brian Inglis wrote: > On 2019-02-16 08:33, Corinna Vinschen wrote: > > On Feb 16 08:09, Brian Inglis wrote: > >> On 2019-02-16 02:45, Corinna Vinschen wrote: > >>> On Feb 15 14:51, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 2:38 PM Brian Inglis wrote: > > Windows normal

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-16 Thread Brian Inglis
On 2019-02-16 08:33, Corinna Vinschen wrote: > On Feb 16 08:09, Brian Inglis wrote: >> On 2019-02-16 02:45, Corinna Vinschen wrote: >>> On Feb 15 14:51, Bill Stewart wrote: On Fri, Feb 15, 2019 at 2:38 PM Brian Inglis wrote: > Windows normally allows "." to be used to refer to the local ma

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-16 Thread Corinna Vinschen
On Feb 16 08:09, Brian Inglis wrote: > On 2019-02-16 02:45, Corinna Vinschen wrote: > > On Feb 15 14:51, Bill Stewart wrote: > >> On Fri, Feb 15, 2019 at 2:38 PM Brian Ingliswrote: > >> > >>> Windows normally allows "." to be used to refer to the local machine name > >>> in a > >>> domain context

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-16 Thread Brian Inglis
On 2019-02-16 02:45, Corinna Vinschen wrote: > On Feb 15 14:51, Bill Stewart wrote: >> On Fri, Feb 15, 2019 at 2:38 PM Brian Ingliswrote: >> >>> Windows normally allows "." to be used to refer to the local machine name >>> in a >>> domain context - can anyone confirm or deny whether this works in

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-16 Thread Corinna Vinschen
On Feb 15 14:51, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 2:38 PM Brian Ingliswrote: > > > Windows normally allows "." to be used to refer to the local machine name > > in a > > domain context - can anyone confirm or deny whether this works in Cygwin or > > with > > getent? > > AFAICT, the

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Andrey Repin
Greetings, Bill Stewart! >> What is a "typical" order?!? >> >> If you login locally to a domain member machine the default domain is >> the logon domain of this machine. If that's not what you want you have >> to choose the logon domain of your account explicitely, even if it's the >> local machi

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Bill Stewart
On Fri, Feb 15, 2019 at 2:32 PM Corinna Vinschen wrote: > What is a "typical" order?!? > > If you login locally to a domain member machine the default domain is > the logon domain of this machine. If that's not what you want you have > to choose the logon domain of your account explicitely, even

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Bill Stewart
On Fri, Feb 15, 2019 at 2:38 PM Brian Ingliswrote: > Windows normally allows "." to be used to refer to the local machine name in a > domain context - can anyone confirm or deny whether this works in Cygwin or > with > getent? AFAICT, the "." shortcut does not work in Cygwin. Regards, Bill --

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Bill Stewart
On Fri, Feb 15, 2019 at 2:32 PM Corinna Vinschen wrote: > > The section that starts with "Let's discuss the SID<=>uid/gid mapping > > first. Here's how it works." states this order: > > It doesn't state an order. It describes the mapping from SID to > uid/gid, and there's *no* order at all to it,

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Brian Inglis
On 2019-02-15 13:59, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 1:43 PM Corinna Vinschen wrote: >> More specific as the original text? I'm hard pressed to accomplish >> that. Take note of the "domain member machine" property. > I think I see the problem. The list I posted (above the one you ar

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Corinna Vinschen
On Feb 15 13:59, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 1:43 PM Corinna Vinschen wrote: > I think I see the problem. The list I posted (above the one you are > apparently referring to) has the search in a different order. I'm not only "apparently referring" to that list, I pasted it verbati

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Bill Stewart
On Fri, Feb 15, 2019 at 1:43 PM Corinna Vinschen wrote: > More specific as the original text? I'm hard pressed to accomplish > that. Take note of the "domain member machine" property. I think I see the problem. The list I posted (above the one you are apparently referring to) has the search in

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Andrey Repin
Greetings, Bill Stewart! > On Fri, Feb 15, 2019 at 9:38 AM Corinna Vinschen wrote: >> There's a documented ruleset which is strictly followed >> https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how: > From that reference, we have the following order: [...crap skipped...] > What am I m

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Corinna Vinschen
On Feb 15 13:36, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 1:29 PM Corinna Vinschen wrote: > > > you didn't really read it. Try again. > > Can you be more specific? More specific as the original text? I'm hard pressed to accomplish that. Take note of the "domain member machine" property.

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Bill Stewart
On Fri, Feb 15, 2019 at 1:29 PM Corinna Vinschen wrote: > you didn't really read it. Try again. Can you be more specific? Bill -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Corinna Vinschen
On Feb 15 12:14, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 9:38 AM Corinna Vinschen wrote: > > > There's a documented ruleset which is strictly followed > > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how: > > >From that reference, we have the following order: > > * Well-known

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Bill Stewart
On Fri, Feb 15, 2019 at 9:38 AM Corinna Vinschen wrote: > There's a documented ruleset which is strictly followed > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how: >From that reference, we have the following order: * Well-known SIDs in the NT_AUTHORITY domain of the S-1-5-RID type

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Corinna Vinschen
On Feb 15 08:34, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 2:32 AM Sam Edge (Cygwin) wrote: > > > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how explains > > in more detail. > > I had already read that, and it seems to indicate that it asks the > local machine first, but that d

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Andrey Repin
Greetings, Bill Stewart! > On Fri, Feb 15, 2019 at 2:32 AM Sam Edge (Cygwin) wrote: >> https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how explains >> in more detail. > I had already read that, and it seems to indicate that it asks the > local machine first, but that doesn't seem to be

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Brian Inglis
On 2019-02-15 08:34, Bill Stewart wrote: > On Fri, Feb 15, 2019 at 2:32 AM Sam Edge wrote: >> https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how explains >> in more detail. > I had already read that, and it seems to indicate that it asks the > local machine first, but that doesn't seem t

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Bill Stewart
On Fri, Feb 15, 2019 at 2:32 AM Sam Edge (Cygwin) wrote: > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how explains > in more detail. I had already read that, and it seems to indicate that it asks the local machine first, but that doesn't seem to be happening when there's a duplicat

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Sam Edge (Cygwin)
On 14/02/2019 23:47, Bill Stewart wrote: > Consider the case where you have a local account and a domain account > with the same username. > > If you supply just the username to Windows without an authority name, > Windows returns the local account. To get the domain account, you'd > have to specif

Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-14 Thread Bill Stewart
Consider the case where you have a local account and a domain account with the same username. If you supply just the username to Windows without an authority name, Windows returns the local account. To get the domain account, you'd have to specify an authority (e.g. domain\username). It seems lik

RE: Cygwin username

2007-05-03 Thread Boffin, Stephane \(GE Infra, Aviation, Non-GE\)
returned) -Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: 3 mai 2007 10:33 To: Boffin, Stephane (GE Infra, Aviation, Non-GE) Cc: cygwin@cygwin.com Subject: RE: Cygwin username Ugh, top-posting... Reformatted. On Thu, 3 May 2007, Boffin, Stephane (GE Infra

RE: Cygwin username

2007-05-03 Thread Igor Peshansky
OTECTED] <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. > Subject: Re: Cygwin username > > > On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote: > > > > > Hello all, > > > > > > When you log into cygwin using a shell the us

RE: Cygwin username

2007-05-03 Thread Boffin, Stephane \(GE Infra, Aviation, Non-GE\)
...??? -Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: 3 mai 2007 10:18 To: Boffin, Stephane (GE Infra, Aviation, Non-GE) Cc: cygwin@cygwin.com Subject: Re: Cygwin username Please do not commandeer an unrelated thread for a new topic. Changing the subject is not

Re: Cygwin username

2007-05-03 Thread Igor Peshansky
Please do not commandeer an unrelated thread for a new topic. Changing the subject is not enough -- you have to post a new message altogether if you want to break the thread. On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote: > Hello all, > > When you log into cygwin using

Cygwin username

2007-05-03 Thread Boffin, Stephane \(GE Infra, Aviation, Non-GE\)
Hello all, When you log into cygwin using a shell the username used is the windows user name. I have a setup where I would like 10 users from 10 diffrent PC to have one username and 10 other using 10 other pc have an other. This is because I only want to manage 2 user name in the passwd file

Re: changing my cygwin username to have no spaces in it

2003-10-03 Thread Igor Pechtchanski
On Fri, 3 Oct 2003, Terrence Brannon wrote: > I just got a great new laptop --- the Toshiba P25 with a 17" widescreen. > > However, I was dumb enough to enter my name as "Terrence Brannon" during > the initial welcome screens. Now when attempting to compile xemacs from > scratch (because xemacs' w

changing my cygwin username to have no spaces in it

2003-10-03 Thread Terrence Brannon
I just got a great new laptop --- the Toshiba P25 with a 17" widescreen. However, I was dumb enough to enter my name as "Terrence Brannon" during the initial welcome screens. Now when attempting to compile xemacs from scratch (because xemacs' windows goes into some sort of white - on - white mo