[PATCH] Remove fstring from wb_acct_info

Andrew Bartlett abartlet at samba.org
Thu Nov 1 17:34:18 UTC 2018


On Thu, 2018-11-01 at 11:54 +0100, Volker Lendecke via samba-technical
wrote:
> On Thu, Nov 01, 2018 at 11:43:03AM +0200, Uri Simchoni via samba-
> technical wrote:
> > 
> > We win by not trying to enumerate all groups (or users), using a
> > filter
> > instead, and returning at most 1000 entries.
> > 
> > For the use case of finding a group, even if you can get all
> > groups,
> > would you let a user browse through hundreds of thousands of
> > results? Or
> > would you offer some search capability? If you do search, then its
> > best
> > to go:
> > - user types something
> > - user stops typing, or clicks "search" button
> > - send query with what the user typed as filter. If the query
> > returns
> > more than 1000, he should narrow it anyway. Tell him to do so.
> We should remove that from core winbind. To get there, what about
> streamlining and documenting a "net search" command doing the LDAP
> queries?

Despite everything, our users still want 'getent group' to work, and
similar built-in things like cd ~<tab> to expand to a list of home
directories.

Sorry,

Andrew Bartlett
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list