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

Re: server current time



> Pierangelo Masarati a écrit :
>
>>[...]
>>If you're using a recent enough version of the software, which you
>> don't mention (2.1.late or 2.2) add the
>>
>>database monitor
>>
>>directive to your slapd.conf; then look for
>>a base of "cn=Current,cn=Time,cn=Monitor"
>>and ask for an attributeType of "monitorTimestamp"
>>This works for 2.2; 2.1 stored the value in
>>"modifyTimeStamp".
>>
>>
> very good !
>
> thank you very much.
>
> Now, a few questions :-)
> 1) How can I know the openldap server version ?

in the cuild tree, look at "build/version"

> 2) Does this "cn=Monitor" entry follow the access control rules of
> slapd.conf ?

Sure.  Database specific or global if none are given for the database.
You can also add rootdn/rootpw (moslty useless).  It is the only database
that does not allow the suffix keyword, as an exception to the general
rule.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it