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

Re: How to change openldap database directory

Stop slapd.
Move the directory.
Change the directory in slapd.conf.
Start slapd.

- chris

Chris Jacobs, Systems Administrator
Apollo Group  |  Apollo Marketing | Aptimus
2001 6th Ave Ste 3200 | Seattle, WA 98121
phone: 206.441.9100 x1245 | mobile: 206.601.3256 | fax: 206.441.9661
email: chris.jacobs@apollogrp.edu

----- Original Message -----
From: openldap-technical-bounces+chris.jacobs=apollogrp.edu@OpenLDAP.org <openldap-technical-bounces+chris.jacobs=apollogrp.edu@OpenLDAP.org>
To: Mail Admin <pinemail11@gmail.com>; openldap-technical@openldap.org <openldap-technical@openldap.org>
Sent: Thu Jun 24 11:10:32 2010
Subject: Re: How to change openldap database directory

--On Wednesday, June 23, 2010 12:50 PM +0530 Mail Admin
<pinemail11@gmail.com> wrote:

> Hello Team,
> I am very new to Linux and Openldap. We have setup a mail server on
> CentOS, Postfix, Dovecot, etc witth OpenLDAP as backend.
> 1) We want to change the daabase directory of Openldap from /var/lib/ldap
> to /var/vmail/ldap . Could someone please let me know the settings I need
> to make to achieve this?

Find the "directory" line in slapd.conf, which specifies the directory in
which to store the database.  This is, of course, easily discovered by
reading the man pages.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration

This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.