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

Re: (ITS#6815) Feature Request: Accesslog filter



--20cf300fb269cc453c04a055d2f8
Content-Type: text/plain; charset=ISO-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=3Dpeople,dc=3Dlancse,dc=3Dcsebo.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 <marco.pizzoli@gmail.com>wr=
ote:

>
> On Wed, Feb 23, 2011 at 9:57 AM, Howard Chu <hyc@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
>>> logged.
>>> If I would like to exclude one subtree from my principal tree, I need t=
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.
>
>
>


--=20
_________________________________________
Non =E8 forte chi non cade, ma chi cadendo ha la forza di rialzarsi.
                    Jim Morrison

--20cf300fb269cc453c04a055d2f8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I tried today to compile accesslog with this feature.<br>Probably I didn&#3=
9;t follow the correct procedure, but I would prefer to ask anyway to leave=
 myself any doubt.<br><br>- I took the vanilla openldap-2.4.25 distribution=
<br>

- unpacked the archive<br>- substituted the accesslog.c file with the corre=
sponding one as available in HEAD/MASTER<br>- compiled the software as if i=
t were the 2.4.25 vanilla distribution <br><br>Now I obtain the following, =
at the startup:<br>

<br>[cut]<br><span style=3D"font-family: courier new,monospace;">line 24 (l=
ogpurge 10+00:00 08:00)</span><br style=3D"font-family: courier new,monospa=
ce;"><span style=3D"font-family: courier new,monospace;">line 28 (logsucces=
s FALSE)</span><br style=3D"font-family: courier new,monospace;">

<span style=3D"font-family: courier new,monospace;">line 30 (logbase all ou=
=3Dpeople,dc=3Dlancse,dc=3D<a href=3D"http://csebo.it";>csebo.it</a>)</span>=
<br style=3D"font-family: courier new,monospace;"><span style=3D"font-famil=
y: courier new,monospace;">/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</span><br style=3D"font-family: courier new,mono=
space;">

<br>Could you help me?<br><br>Thanks in advance<br>Marco<br><br><br><div cl=
ass=3D"gmail_quote">On Wed, Feb 23, 2011 at 10:02 AM, Marco Pizzoli <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:marco.pizzoli@gmail.com";>marco.pizzoli@gma=
il.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br><div class=3D=
"gmail_quote"><div class=3D"im">On Wed, Feb 23, 2011 at 9:57 AM, Howard Chu=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:hyc@symas.com"; target=3D"_blank">h=
yc@symas.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Marco Pizzoli wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Howard,<br>
thanks for this work.<br>
<br>
I noticed that you give me a baseDN under which I can have operations logge=
d.<br>
If I would like to exclude one subtree from my principal tree, I need to<br=
>
specify all the baseDN of other sibling-subtrees.<br>
To do this do I need to poli-invoke accesslog overlay?<br>
</blockquote>
<br></div>
No, you can specify logbase multiple times in a single overlay.<br></blockq=
uote></div><div><br>Ok, thanks.<br><br>=A0</div><div class=3D"im"><blockquo=
te class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1=
px solid rgb(204, 204, 204); padding-left: 1ex;">



Possibly we can extend the directive to handle exclusion as well as inclusi=
on, to simplify this case.<br></blockquote></div><div><br>This is effective=
ly what I would need, in this case.<br><br>
</div></div><br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>_______________________=
__________________<br>Non =E8 forte chi non cade, ma chi cadendo ha la forz=
a di rialzarsi.<br>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Jim Morrison<br>

--20cf300fb269cc453c04a055d2f8--