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

Re: Thinking about operational attribute numSubordinates...



> I think we could easily leave the decision on what operational
> attributes are ahndled to the backend itself, by using 
> backend_operational() (as suggested by a remark 
> in servers/slapd/result.c, if I remember correctly) and adding
> an optional backend routine (be_operational() ?).
> The call to backend_operational already passes both the backend 
> and the entry; for back-ldbm and back-bdb "hasSubordinates" can
> be easily computed on the fly.  This allows the backend to
> add any supported operational attributes, if available.  I guess
> we'd better avoid this overhead for the attributes that are not 
> explicitly required...

BTW, I'm giving a look at it, might come up with a solution shortly ...

Pierangelo.