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

Re: modifyTimestamp

On Monday 29 July 2002 12:14 pm, Manuel Vazquez wrote:
> Hello all,
> I'm running a database on OpenLDAP. It provides for example a telephone
> book and different information about every employee. It can be accessed
> with any web browser. I am looking for a possibility to query the date when
> the database was last modified. Sorry if this might be a beginner's
> question, but I haven't found the right clue in the archives.

OpenLDAP is supposed to have modifyTimestamp in it by default :

Taken from the man page :

 lastmod on | off
              Controls whether slapd will automatically  maintain
              the  modifiersName,  modifyTimestamp, creatorsName,
              and createTimestamp  attributes  for  entries.   By
              default, lastmod is on.

But I could never get it working even if I put "lastmod on" in my slapd.conf 

I think you may have to manually put modifiersName, modifyTimestamp, 
creatorsName and createTimestamp in the record for the user before it will be 
used - I think this is stupid if, I think that you should just put turn it on 
and it does everything for you!


Andrew McCall
Internet System Administrator
I.C.T. Division
Oldham MBC
Civic Centre
West Street

Tel : 0161 911 3990
Fax : 0161 911 3998
Email : it.andrew.mccall@oldham.gov.uk

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.