title: Error install OpenLdap for RedHat6(checksum error on "/etc/openldap/slapd.d/cn=config/olcDatabase={2}bdb.ldif")
body: <p>I tried to install OpenLdap for linux redhat6, but i recive an error and looks like this </p>
  
  <pre><code>"5511c732 ldif_read_file: checksum error on "/etc/openldap/slapd.d/cn=config/olcDatabase={1}monitor.ldif"
  </code></pre>
  
  <p>below is the code</p>
  
  <pre><code># AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
  # CRC32 03c4de5f
  dn: olcDatabase={1}monitor
  objectClass: olcDatabaseConfig
  olcDatabase: {1}monitor
  olcAccess: {0}to *  by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=externa
   l,cn=auth" read  by dn.base="cn=Manager,dc=my-domain,dc=com" read  by * none
  olcAddContentAcl: FALSE
  olcLastMod: TRUE
  olcMaxDerefDepth: 15
  olcReadOnly: FALSE
  olcSyncUseSubentry: FALSE
  olcMonitoring: FALSE
  structuralObjectClass: olcDatabaseConfig
  entryUUID: 7f788d0a-66a8-1034-968a-61cac64128b9
  creatorsName: cn=config
  createTimestamp: 20150324193414Z
  entryCSN: 20150324193414.304614Z#000000#000#000000
  modifiersName: cn=config
  modifyTimestamp: 20150324193414Z
  </code></pre>
  
  <p>and</p>
  
  <pre><code>5511c732 ldif_read_file:  checksum error on "/etc/openldap/slapd.d/cn=config/olcDatabase={2}bdb.ldif"
  </code></pre>
  
  <p>below is the code :</p>
  
  <pre><code># AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
  # CRC32 dd2c457a
  dn: olcDatabase={2}bdb
  objectClass: olcDatabaseConfig
  objectClass: olcBdbConfig
  olcDatabase: {2}bdb
  olcSuffix: dc=example,dc=com
  olcAddContentAcl: FALSE
  olcLastMod: TRUE
  olcMaxDerefDepth: 15
  olcReadOnly: FALSE
  olcRootDN: cn=Manager,dc=example,dc=com
  olcSyncUseSubentry: FALSE
  olcMonitoring: TRUE
  olcDbDirectory: /var/lib/ldap
  olcDbCacheSize: 1000
  olcDbCheckpoint: 1024 15
  olcDbNoSync: FALSE
  olcDbDirtyRead: FALSE
  olcDbIDLcacheSize: 0
  olcDbIndex: objectClass pres,eq
  olcDbIndex: cn pres,eq,sub
  olcDbIndex: uid pres,eq,sub
  olcDbIndex: uidNumber pres,eq
  olcDbIndex: gidNumber pres,eq
  olcDbIndex: ou pres,eq,sub
  olcDbIndex: mail pres,eq,sub
  olcDbIndex: sn pres,eq,sub
  olcDbIndex: givenName pres,eq,sub
  olcDbIndex: memberUid pres,eq,sub
  olcDbIndex: loginShell pres,eq
  olcDbIndex: nisMapName pres,eq,sub
  olcDbIndex: nisMapEntry pres,eq,sub
  olcDbLinearIndex: FALSE
  olcDbMode: 0600
  olcDbSearchStack: 16
  olcDbShmKey: 0
  olcDbCacheFree: 1
  olcDbDNcacheSize: 0
  structuralObjectClass: olcBdbConfig
  entryUUID: 7f7892aa-66a8-1034-968b-61cac64128b9
  creatorsName: cn=config
  createTimestamp: 20150324193414Z
  entryCSN: 20150324193414.304614Z#000000#000#000000
  modifiersName: cn=config
  modifyTimestamp: 20150324193414Z
  olcRootPW: {SSHA}dGaM0fyxrjotXLEKz8Jjl5yoBhpNxLXX
  olcTLSCertificateFile: /etc/pki/tls/certs/example.pem
  olcTLSCertificateKeyFile: /etc/pki/tls/certs/examplekey.pem 
  </code></pre>
  
  <p>At first error I had modified  <code>dn.base="cn=Manager,dc=my-domain,dc=com"</code> =>Manager was with low letter <code>dn.base="cn=manager,dc=my-domain,dc=com"</code>
  Second error: - <code>olcSuffix: dc=example,dc=com</code> => was <code>olcSuffix: dc=my-domain,dc=com</code>  </p>
  
  <pre><code>- olcRootPW: {SSHA}dGaM0fyxrjotXLEKz8Jjl5yoBhpNxLXX  (add)
            - olcTLSCertificateFile: /etc/pki/tls/certs/example.pem  (add)
            - olcTLSCertificateKeyFile: /etc/pki/tls/certs/examplekey.pem(add)
  </code></pre>