Re: memberOf as misuse of data model

2012-01-20 Thread Michael Ströder
Howard Chu wrote: There are two common operations on a group: list all the members, and see if user X is a member of a group. For the first case, just retrieve the group entry and look at its member attribute. For the second case, just do a Compare on the group and test the member attribute

Re: memberOf as misuse of data model

2012-01-20 Thread Pierangelo Masarati
On 01/20/2012 06:49 AM, Mathieu MILLET wrote: Le 20.01.2012 00:45, Howard Chu a écrit : Felipe Augusto van de Wiel wrote: Hello, Hi On 19-01-2012 15:14, Howard Chu wrote: Dunno. IMO most people using memberOf are misusing the data model anyway, so it's of little interest. Out of

Re: memberOf as misuse of data model

2012-01-20 Thread Michael Ströder
Pierangelo Masarati wrote: On 01/20/2012 06:49 AM, Mathieu MILLET wrote: I could see a 3rd use case : User management. When you administer the profile of a user, you simply query the LDAP entry of the user and you get all of his information, including the complete list of his groups (with a

Re: memberOf as misuse of data model

2012-01-20 Thread Pierangelo Masarati
On 01/20/2012 12:19 PM, Michael Ströder wrote: Pierangelo Masarati wrote: On 01/20/2012 06:49 AM, Mathieu MILLET wrote: I could see a 3rd use case : User management. When you administer the profile of a user, you simply query the LDAP entry of the user and you get all of his information,

memberOf as misuse of data model (was: Re: memberOf and glued databases)

2012-01-19 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, On 19-01-2012 15:14, Howard Chu wrote: Dunno. IMO most people using memberOf are misusing the data model anyway, so it's of little interest. Out of curiosity (and because I do try to avoid misusing the data model), why in your opinion

Re: memberOf as misuse of data model

2012-01-19 Thread Howard Chu
Felipe Augusto van de Wiel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, On 19-01-2012 15:14, Howard Chu wrote: Dunno. IMO most people using memberOf are misusing the data model anyway, so it's of little interest. Out of curiosity (and because I do try to avoid misusing the

Re: memberOf as misuse of data model

2012-01-19 Thread Mathieu MILLET
Le 20.01.2012 00:45, Howard Chu a écrit : Felipe Augusto van de Wiel wrote: Hello, Hi On 19-01-2012 15:14, Howard Chu wrote: Dunno. IMO most people using memberOf are misusing the data model anyway, so it's of little interest. Out of curiosity (and because I do try to avoid misusing the