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 solveCreate two new suffixes (olcSuffix) similar to your existing olcSuffix for dc=com. See slapd-config(5), and use 'slapcat -n0' to view your config.
Multiple-suffix support in a single backend has been disabled by default for many years now. The correct approach to actually add 2 new suffixes is to create 2 new backends. An alternative approach is to change the original suffix from "dc=whatever" to "" and create whatever other subtrees you want under that.
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).
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/