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

Re: commit: ldap/servers/slapd/back-bdb add.c



ando@OpenLDAP.org wrote:
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-bdb

Modified Files:
	add.c  1.138 -> 1.139

Log Message:
only add opattrs if not shadow; use helper to extract rdn
I intentionally add opattrs in all cases. Note that it will only add opattrs that are missing, so if a proper slave is pushing an entry very little work will be done. But, adding opattrs as I wrote it allows pre-2.3 masters to work with a 2.3 slave as all missing opattrs (e.g. structuralObjectClass) will be added as needed.

--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/