Description of problem: The LDAP updates are not being applied when a replica is created. This is ok for some of them because they be replicated over during the replica creation but anything outside of the base will not be applied, such as plugin configurations. A call to ds.apply_updates() should be done once the initial replication is done.
Working on it
Created attachment 325292 [details] patch to fix bug Added ds.apply_updates() right before restarting services.
Can someone give an example of what updates would be missing on the replica if ds.apply_updates was not executed before restarting services? Thanks
Look for an index for the attribute ntUniqueId. The dn is: cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
thanks again Rob!
Fix Verified: Search after successful replica installation: [root@jennyv4 yum.repos.d]# ldapsearch -x -h `hostname` -p 389 -D "cn=Directory Manager" -w Secret123 -b "cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config" # extended LDIF # # LDAPv3 # base <cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config> with scope subtree # filter: (objectclass=*) # requesting: ALL # # ntUniqueId, index, userRoot, ldbm database, plugins, config dn: cn=ntUniqueId, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=con fig objectClass: top objectClass: nsIndex cn: ntUniqueId nsSystemIndex: false nsIndexType: eq nsIndexType: pres # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1