[Date Prev][Date Next]
Re: commit: ldap/servers/slapd acl.c aclparse.c slap.h main.c
Pierangelo Masarati wrote:
Well, there was a #ifdef LDAP_DEVEL / #define SLAP_DYNACL in slap.h, so
the new code was being compiled without all of the required definitions
being present. I've commented this out in my copy of slap.h.
Howard Chu wrote:
sorry about that. As soon as it looks fine and acceptable, I plan to
With a fresh update I get this error when compiling:
cc -g -I../../include -I../../../head/servers/slapd/slapi -I.
-I../../../head/include -c -o acl.o
../../../head/servers/slapd/acl.c: In function `dynacl_aci_parse':
../../../head/servers/slapd/acl.c:2671: error: structure has no member
../../../head/servers/slapd/acl.c:2674: error: `SLAPD_ACI_SYNTAX'
undeclared (first use in this function)
../../../head/servers/slapd/acl.c:2674: error: (Each undeclared
identifier is reported only once
../../../head/servers/slapd/acl.c:2674: error: for each function it
make: *** [acl.o] Error 1
enable this by default and move ACI stuff in a conditionally compiled
aci.c file so that also ACIs can be dynamically loaded. p.
I agree, it's not clear how to make it work, although it would certainly
One thing that currently makes me unhappy with the dynacl stuff is that
ACL caching is not passed thru to the dynamic ACL infrastructure. This is
because I quickly designed it based on ACIs, whose ACL caching was broken
and thus disabled. However, I'm not sure the idea of ACL caching can work
at all with the current design of ACIs (and dynamic ACLs, which is
essentially the same).
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support