Windows to Cygwin username mapping: Domain before local account when duplicate name?
Bill Stewart
bstewart@iname.com
Fri Feb 15 21:51:00 GMT 2019
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, just a description how
> certain SIDs are mapped to certain uid/gid values given numerical
> recipies.
Right, I assumed that it was an order. I see I was misunderstanding this.
> 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 machine SAM. Windows will not try to find the user name locally
> if you didn't chose it explicitely. You get "The user name or password
> is incorrect. Try again" instead.
If you are talking about logging on at a Windows machine, that's true.
But IIRC this isn't what the APIs do (at least the .NET ones): If you
specify a username without an authority, the APIs search the local
account database first.
Regards,
Bill
--
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
More information about the Cygwin
mailing list