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

Re: OpenLDAP Date



Howard Chu wrote:
> andylockran wrote:
>> Hi,
>>
>> I'm in the process of upgrading a 2.3.41 directory up to the 2.4 branch.
>>   I've got a few virtual machines with which I've been testing and
>> running syncrepl.
>>
>> I've successfully 'pulled' all the data out from the old server (2.3)
>> and that's now in database 1 on my new server.
>>
>> However, having installed openLDAP on another new server.. the date that
>> logs are reporting is an hour earlier than the system time.
>>
>> Is there a configurable run-time option in slapd, to get the date?
>> I've currently not got monitoring setup.
> 
> No, there's nothing in slapd that messes with the system clock. Probably
> you have an incorrect TZ or other environment variable when slapd starts.
> 
TZ="Europe/London"; export TZ

that's in /etc/profile, and the date shows up correctly as:

Fri Aug 29 11:09:34 BST 2008

Does openldap pull its timezone data from elsewhere.

Regards,

Andy