[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: multiple DIT
Hi Dan
as per your instructions
I added the olcSuffix
# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 c5bb4c92
dn: olcDatabase={1}hdb
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: {1}hdb
olcDbDirectory: /var/lib/ldap
olcSuffix: dc=com
olcSuffix: dc=net
olcSuffix: dc=net
olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by
anonymou
s auth by dn="cn=admin,dc=com" write by * none
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to * by self write by dn="cn=admin,dc=com" write by * read
olcLastMod: TRUE
olcRootDN: cn=admin,dc=com
olcRootPW:: e1NTSEF9OUxqZk5odzRtanp3bHNKSkNGWnN5Z3IvOTJweHppd0I=
olcDbCheckpoint: 512 30
olcDbConfig: {0}set_cachesize 0 2097152 0
olcDbConfig: {1}set_lk_max_objects 1500
olcDbConfig: {2}set_lk_max_locks 1500
olcDbConfig: {3}set_lk_max_lockers 1500
olcDbIndex: objectClass eq
structuralObjectClass: olcHdbConfig
entryUUID: 071456ea-5f66-1033-9f42-7b89f08eb219
creatorsName: cn=config
createTimestamp: 20140423190549Z
entryCSN: 20140423190549.731979Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20140423190549Z
and I got the following
53cfd5ad ldif_read_file: checksum error on
"/etc/ldap/slapd.d/cn=config/olcDatabase ={1}hdb.ldif"
53cfd5ad olcSuffix: value #1: <olcSuffix> Only one suffix is allowed on
this hdb ba ckend
53cfd5ad config error processing olcDatabase={1}hdb,cn=config:
<olcSuffix> Only one suffix is allowed on this hdb backend
slapcat: bad configuration file!
On 7/23/2014 10:46 AM, Dan White wrote:
On 07/23/14 10:10 -0400, andres palomo wrote:
ubuntu 12.04
openLdap 2.4.28-1
I have created a DIT dc=com
i need to create 2 additional dit for dc=net and dc=org
I have been all over the web
and it is not vlear how to create the additional DIT with the
cn=config.ldif
any help will be greatly appreciated
please request additional info if required to solve
Create two new suffixes (olcSuffix) similar to your existing olcSuffix
for
dc=com. See slapd-config(5), and use 'slapcat -n0' to view your config.
If you have slapd.conf examples to work with, slaptest can be used to a
generate a temporary config prior to applying (specify a temporary
directory for the -F option).