[SSSD] [PATCH] Add a special filter type to handle enumerations

Simo Sorce ssorce at redhat.com
Mon Nov 29 13:45:59 UTC 2010


On Mon, 29 Nov 2010 11:57:31 +0100
Sumit Bose <sbose at redhat.com> wrote:

> Hi,
> 
> this patch adds a special filter type for enumarations instead of
> using 'name=*'. I think this makes the code easier to read and
> understand, allows the usage of a '*' in user or group names
> (although it might be recommended to do without) and fixes trac
> ticket #676.
> 
> bye,
> Sumit

FWIW:
Theareason why we used the name and * in the name field is because
originally we wanted to allow to search using a smart filter. So that
through the infopipe you could do searches like: all users starting by
A, with a filter like "A*".

But I think we can work on it when we will actually decide to implement
this stuff. Meanwhile, although I haven't reviewed the patch carefully,
the general direction looks quite ok.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York



More information about the sssd-devel mailing list