public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* passwd/group/grent fixes for Cygwin 3.5.1?
@ 2024-02-26  3:44 Dan Shelton
  2024-02-26  9:17 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Shelton @ 2024-02-26  3:44 UTC (permalink / raw)
  To: cygwin

Hello!

Can these 3 commits please be backported to the Cygwin 3.5.1 branch?

4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local
enumeration...commit | commitdiff | tree
4 days agoCorinna VinschenCygwin: getgrent: fix local SAM enumeration
on domain...commit | commitdiff | tree
5 days agoCorinna VinschenCygwin: passwd/group: drop Capability
SIDscommit | commitdiff | tree

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: passwd/group/grent fixes for Cygwin 3.5.1?
  2024-02-26  3:44 passwd/group/grent fixes for Cygwin 3.5.1? Dan Shelton
@ 2024-02-26  9:17 ` Corinna Vinschen
  2024-02-27  3:21   ` Dan Shelton
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2024-02-26  9:17 UTC (permalink / raw)
  To: cygwin

On Feb 26 04:44, Dan Shelton via Cygwin wrote:
> Hello!
> 
> Can these 3 commits please be backported to the Cygwin 3.5.1 branch?
> 
> 4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local
> enumeration...commit | commitdiff | tree
> 4 days agoCorinna VinschenCygwin: getgrent: fix local SAM enumeration
> on domain...commit | commitdiff | tree
> 5 days agoCorinna VinschenCygwin: passwd/group: drop Capability
> SIDscommit | commitdiff | tree

Did changing db_enum in /etc/nsswitch.conf help on your test machine?

Corinna

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: passwd/group/grent fixes for Cygwin 3.5.1?
  2024-02-26  9:17 ` Corinna Vinschen
@ 2024-02-27  3:21   ` Dan Shelton
  2024-02-27 10:16     ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Shelton @ 2024-02-27  3:21 UTC (permalink / raw)
  To: cygwin

On Mon, 26 Feb 2024 at 10:18, Corinna Vinschen via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Feb 26 04:44, Dan Shelton via Cygwin wrote:
> > Hello!
> >
> > Can these 3 commits please be backported to the Cygwin 3.5.1 branch?
> >
> > 4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local
> > enumeration...commit | commitdiff | tree
> > 4 days agoCorinna VinschenCygwin: getgrent: fix local SAM enumeration
> > on domain...commit | commitdiff | tree
> > 5 days agoCorinna VinschenCygwin: passwd/group: drop Capability
> > SIDscommit | commitdiff | tree
>
> Did changing db_enum in /etc/nsswitch.conf help on your test machine?

Yes, just adding "local" to db_enum worked, but it is not much of a
solution since I need Administrator rights on the target machine,
which is not going to happen.

Why are local groups excluded by default?

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: passwd/group/grent fixes for Cygwin 3.5.1?
  2024-02-27  3:21   ` Dan Shelton
@ 2024-02-27 10:16     ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2024-02-27 10:16 UTC (permalink / raw)
  To: cygwin

On Feb 27 04:21, Dan Shelton via Cygwin wrote:
> On Mon, 26 Feb 2024 at 10:18, Corinna Vinschen via Cygwin
> <cygwin@cygwin.com> wrote:
> >
> > On Feb 26 04:44, Dan Shelton via Cygwin wrote:
> > > Hello!
> > >
> > > Can these 3 commits please be backported to the Cygwin 3.5.1 branch?
> > >
> > > 4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local
> > > enumeration...commit | commitdiff | tree
> > > 4 days agoCorinna VinschenCygwin: getgrent: fix local SAM enumeration
> > > on domain...commit | commitdiff | tree
> > > 5 days agoCorinna VinschenCygwin: passwd/group: drop Capability
> > > SIDscommit | commitdiff | tree
> >
> > Did changing db_enum in /etc/nsswitch.conf help on your test machine?
> 
> Yes, just adding "local" to db_enum worked, but it is not much of a

Thanks, good to know.

> solution since I need Administrator rights on the target machine,
> which is not going to happen.

If you're not admin, why do you have to enumerate accounts?  This
is usually not an action required by standard applications.

> Why are local groups excluded by default?

Because enumerating local group means to enumerate the entire AD
group list on DCs, which is not feasible in some scenarios.  And
there is a way to configure this by changing /etc/nsswitch.conf.
If you need this on machines you're not admin of, why not just
ask the admin to enable this?


Corinna

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-27 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-26  3:44 passwd/group/grent fixes for Cygwin 3.5.1? Dan Shelton
2024-02-26  9:17 ` Corinna Vinschen
2024-02-27  3:21   ` Dan Shelton
2024-02-27 10:16     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).