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


The schema still needs some tweaking in various places, and Modify and ModRdn still need to be implemented. But Add is basically working as intended.

Attributes defined with the X-ORDERED schema extension get an ordering index automatically generated if none is provided. The default behavior in that case is to assign the next unused index. E.g., if you have these databases already defined

and you do an LDAPadd of

the entry that is actually stored will be named

If you add an item with an explicitly provided index, and it is greater than the next unused index, it will be set to the next unused index.

This is not yet implemented:
If you delete an ordered item, all the subsequent items will be renumbered downward. If it is equal to a used index, it will keep that index and all the existing entries >= that index will be renumbered upward. This automatic renumbering up/down is not implemented yet because it needs the ModRdn functionality, among other things.

I've actually created a fully working slapd now with multiple bdb and hdb databases and syncrepl replication using just a stub slapd.conf and JXplorer to do the rest. If I didn't have to provide a rootpw for cn=config I could configure the whole thing dynamically. (Perhaps we should provide a default rootpw that is only valid until some explicit configuration step occurs?)

-------- Original Message --------
Subject: 	commit: ldap/servers/slapd bconfig.c
Date: 	Sun, 27 Mar 2005 11:08:57 GMT
From: 	hyc@OpenLDAP.org
To: 	OpenLDAP Commit <openldap-commit2devel@OpenLDAP.org>

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Modified Files:
	bconfig.c  1.34 -> 1.35

Log Message:
Fix search, fix add. Adding backends/databases works.

CVS Web URLs: http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/ http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/bconfig.c

 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support