The K Blag

Interesting Topics
  • Home
  • How To...
  • Who is The K?

Creating the changelog in Directory Server 5.2

Published by Mike on November 7, 2007 11:59 am under changelog, ldap, replication, sun

For a changelog to be created, either the parent directory of where the changelog is to be created needs to be owned (and writable!) by the directory server user, or the changelog directory itself needs to be owned by the directory server user. In the LDIF example below, the changelog is created in the installation directory (/opt/ldap/slapd-ds0) with the maximum number of active entries to keep in the changelog of 999999, and the maximum number of days to keep information in the changelog of 7d.

dn: cn=changelog5,cn=config
changetype: add
objectClass: extensibleObject
objectClass: top
cn: changelog5
nsslapd-changelogdir: /opt/ldap/slapd-ds0/changelogdb
nsslapd-changelogmaxentries: 999999
nsslapd-changelogmaxage: 7d

Create a file with the above contents and save it to disk (I saved mine as /tmp/createchangelogdb.ldif).

Update your directory server instance via ldapmodify to create the changelog database.

/usr/bin/ldapmodify -h host -p port -D ‘rootdn‘ -w ‘password‘ -c -f /tmp/createchangelogdb.ldif

bookmark to
Add 'Creating the changelog in Directory Server 5.2' to Del.icio.usAdd 'Creating the changelog in Directory Server 5.2' to diggAdd 'Creating the changelog in Directory Server 5.2' to redditAdd 'Creating the changelog in Directory Server 5.2' to TechnoratiAdd 'Creating the changelog in Directory Server 5.2' to Stumble Upon

No Comment

Comments are closed.

Posting your comment.

  • Categories

    • changelog
    • E-Mail
    • ldap
    • random
    • replication
    • sun
  • RSS Feeds

    • Posts RSS
    • Comments RSS
  •  

    July 2010
    M T W T F S S
    « Dec    
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
  • Blogroll

    • Konopka Family
    • The Gastromaniacs

Copyright © 2010 The K Blag