From marco.pizzoli@gmail.com Thu Apr 7 15:33:44 2011 From: marco.pizzoli@gmail.com To: openldap-bugs@openldap.org Subject: Re: (ITS#6815) Feature Request: Accesslog filter Date: Thu, 07 Apr 2011 15:33:43 +0000 Message-ID: <201104071533.p37FXhGW023343@boole.openldap.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4980701437503140137==" --===============4980701437503140137== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable --20cf300fb269cc453c04a055d2f8 Content-Type: text/plain; charset=3DISO-8859-1 Content-Transfer-Encoding: quoted-printable I tried today to compile accesslog with this feature. Probably I didn't follow the correct procedure, but I would prefer to ask anyway to leave myself any doubt. - I took the vanilla openldap-2.4.25 distribution - unpacked the archive - substituted the accesslog.c file with the corresponding one as available in HEAD/MASTER - compiled the software as if it were the 2.4.25 vanilla distribution Now I obtain the following, at the startup: [cut] line 24 (logpurge 10+00:00 08:00) line 28 (logsuccess FALSE) line 30 (logbase all ou=3D3Dpeople,dc=3D3Dlancse,dc=3D3Dcsebo.it) /opt/openldap2.4.25/libexec/slapd: symbol lookup error: /opt/openldap2.4.25/libexec/openldap/accesslog-2.4.so.2: undefined symbol: verbstring_to_mask Could you help me? Thanks in advance Marco On Wed, Feb 23, 2011 at 10:02 AM, Marco Pizzoli wr= =3D ote: > > On Wed, Feb 23, 2011 at 9:57 AM, Howard Chu wrote: > >> Marco Pizzoli wrote: >> >>> Hi Howard, >>> thanks for this work. >>> >>> I noticed that you give me a baseDN under which I can have operations >>> logged. >>> If I would like to exclude one subtree from my principal tree, I need t=3D o >>> specify all the baseDN of other sibling-subtrees. >>> To do this do I need to poli-invoke accesslog overlay? >>> >> >> No, you can specify logbase multiple times in a single overlay. >> > > Ok, thanks. > > > >> Possibly we can extend the directive to handle exclusion as well as >> inclusion, to simplify this case. >> > > This is effectively what I would need, in this case. > > > --=3D20 _________________________________________ Non =3DE8 forte chi non cade, ma chi cadendo ha la forza di rialzarsi. Jim Morrison --20cf300fb269cc453c04a055d2f8 Content-Type: text/html; charset=3DISO-8859-1 Content-Transfer-Encoding: quoted-printable I tried today to compile accesslog with this feature.
Probably I didn=3D 9;t follow the correct procedure, but I would prefer to ask anyway to leave=3D myself any doubt.

- I took the vanilla openldap-2.4.25 distribution=3D
- unpacked the archive
- substituted the accesslog.c file with the corre=3D sponding one as available in HEAD/MASTER
- compiled the software as if i=3D t were the 2.4.25 vanilla distribution

Now I obtain the following, =3D at the startup:

[cut]
line 24 (l= =3D ogpurge 10+00:00 08:00)
line 28 (logsucces= =3D s FALSE)
line 30 (logbase all ou= =3D =3D3Dpeople,dc=3D3Dlancse,dc=3D3Dcsebo.it)<= /span>=3D
/opt/openldap2.4.25/libexec/slapd: symbol lookup=3D error: /opt/openldap2.4.25/libexec/openldap/accesslog-2.4.so.2: undefined =3D symbol: verbstring_to_mask

Could you help me?

Thanks in advance
Marco


On Wed, Feb 23, 2011 at 10:02 AM, Marco Pizzoli <marco.pizzoli= (a)gma=3D il.com> wrote:

On Wed, Feb 23, 2011 at 9:57 AM, Howard Chu= =3D <h=3D yc(a)symas.com> wrote:
Marco Pizzoli wrote:
Hi Howard,
thanks for this work.

I noticed that you give me a baseDN under which I can have operations logge=3D d.
If I would like to exclude one subtree from my principal tree, I need to specify all the baseDN of other sibling-subtrees.
To do this do I need to poli-invoke accesslog overlay?

No, you can specify logbase multiple times in a single overlay.

Ok, thanks.

=3DA0
Possibly we can extend the directive to handle exclusion as well as inclusi=3D on, to simplify this case.

This is effective=3D ly what I would need, in this case.





--
_______________________= =3D __________________
Non =3DE8 forte chi non cade, ma chi cadendo ha la forz= =3D a di rialzarsi.
=3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA= 0 Jim Morrison
--20cf300fb269cc453c04a055d2f8-- --===============4980701437503140137==--