Ticket 47437 - Some attributes in cn=config should not be multivalued

Description:  Many configuration attributes are not defined in the schema,
              this allows for duplicate attributes, when only one should be allowed.
              As well as invalid values being added to certain attributes.

              Adding all the attributes to the schema allows for syntax checking, and
              enforcing single/multiple valued attributes.

https://fedorahosted.org/389/ticket/47437

Successfully tested with freeipa-3.3.3.4 on f20

Reviewed by: rmeggins & tbordaz(Thanks!!)
Ticket #47677 - Size returned by slapi_entry_size is not accurate

Description: slapi_entry_size calculating the entry size had issues.
. To calculate the Slapi_DN size, local function slapi_dn_size was used.
  Local slapi_dn_size missed to count the raw dn length.  This patch
  replaces slapi_dn_size with (slapi_sdn_get_size - sizeof(Slapi_DN)).
. slapi_entry_size counted Slapi_RDN twice.
. slapi_entry_size did not count the size of e_virtual_lock, e_aux_attrs
  and e_extension.

https://fedorahosted.org/389/ticket/47677

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
Ticket 47615 - Failed to compile the DS 389 1.3.2.3 version against Berkeley DB 4.2 version

Bug Description:  libdb 4.2 does not support the db->compact feature, which causes
                  build failures.  The compact feature was only added to libdb 4.4

Fix Description:  Use preprocessor commands to ioslate the compact code.

https://fedorahosted.org/389/ticket/47615

Reviewed by: rmeggins(Thanks!)
Ticket #47692 single valued attribute replicated ADD does not work

https://fedorahosted.org/389/ticket/47692
Reviewed by: nhosoi,lkrispenz (Thanks!)
Branch: master
Fix Description: Add special corner case handling for the case where
- attr is deleted with vdcsn and adcsn CSN1
- attr vucsn is NULL
- incoming mod/add has CSN2 where CSN2 > CSN1
in this case, just keep the new mod/add value as the present value.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
Ticket #47608 - change slapi_entry_attr_get_bool to handle "on"/"off" values, support default value

Description: Adding an API slapi_entry_attr_get_bool_ext, which is an
extension of slapi_entry_attr_get_bool.  The difference is slapi_
entry_attr_get_bool_ext returns the given default value if the type
is not found in the entry.

https://fedorahosted.org/389/ticket/47608

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
Update test cases due to new modules: Schema, tasks, plugins and index

Reviewed by Rich Megginson (thanks Rich)
Ticket 47619: cannot reindex retrochangelog

Bug Description:
        An index task (through db2index.pl) on changelog backend may hang.
        The reason is that the retrocl-plugin start function (retrocl_start) acquires the
        changelog backend in read (slapi_be_Rlock) but does not release it.
        The task will try to acquire it in Write but will wait indefinitely.

Fix Description:
        Make retrocl_start to release the lock acquired in Read in slapi_mapping_tree_select

https://fedorahosted.org/389/ticket/47619

Reviewed by: Rich Megginson

Platforms tested: F17

Flag Day: no

Doc impact: no
Ticket 47552 - logconv: unindexed report should list bind dn

Description:  Add the bind DN to the unindexed search report.  We need
              to adjust the hash key in order to find the correct bind DN.

              Updated the unindexed summary report to expand on each filter,
              and the bind DN that issued it.  As well as each bind DN that
              issused a unindexed search, and all the filters that bind DN
              used.

              Also, when doing a unindexed report, always grab the IP address
              regardless if the connection stat flag is set.

              Also made a minor improvement to the log count in the processing
              output.

https://fedorahosted.org/389/ticket/47552

Reviewed by: rmeggins(Thanks!)
Ticket 525 - Replication retry time attributes cannot be added

Bug Description:  Trying to add nsds5ReplicaBackoffMin/nsds5ReplicaBackoffMax
                  to a replica entry results in an error 53.

Fix Description:  Allow the adding & deleting of these attributes.  Also changed
                  their type to slapi_counters so they can be safely updated.

https://fedorahosted.org/389/ticket/525

Reviewed by: nhosoi(Thanks!)