[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4573) @pwdPolicy expansion seems to include objectClass?



On Thu, 2006-06-01 at 20:29 +0000, ahasenack@terra.com.br wrote:
> On Thu, Jun 01, 2006 at 10:15:28PM +0200, Hallvard B Furuseth wrote:
> > ahasenack@terra.com.br writes:
> > > Isn't *every* class a subclass of top?
> > 
> > All structural classes.  Auxiliary classes need not be.
> 
> Taking a quick look at the standard schemas I have, many supplied with
> openldap, I would say about half AUX classes inherit top:
> 
> [root@pandora schema]# grep -E "^[^#].*AUXILIARY" *.schema|wc -l
> 56
> [root@pandora schema]# grep -E "^[^#].*AUXILIARY" *.schema|grep -v top|wc -l
> 27
>  
> If this is indeed the problem (inheritance from top), then I don't think the
> @OC syntax is very useful because ALL entries have objectClass.

Then, don't use it.  Or use it wisely, like placing an

access to attrs=objectClass
	...

before it.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------