Ticket 47872 - Filter AND with only one clause should be optimized

Bug Description:  If the filter id of the form "(&(attr=value))" it is not detected
			that the filtertest can by bypassed like in "(attr=value)"

Fix Description:   Check if an AND filter has only one component and this component is not
			another complex filter. To make this work, the check if the filter
			attribute is a subtyp also had to be applied earlier

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

Reviewed by: RichM, thanks
(cherry picked from commit 29316b10f02e7cf7b01fe01f9b82b2088453221b)
(cherry picked from commit 39adbdc6062b5af27346759ca4cee6c570fedddf)
Ticket #47874 - Performance degradation with scope ONE after some load

Bug Description: Backend has a bit to indicate "should not bypass
the filter test".  It's set if one of the search results is ALLID
in idl_intersection.  Once the flag is set, it's never been unset.
It makes the following one level searches slow down.

Fix Description: Introduced slapi_be_unset_flag and unset the bit
at the end of every search.

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

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)

(cherry picked from commit 8e1345ab9276d1cf9c9ac2cbd858c398235ef5ce)
(cherry picked from commit 3ff6d520ae0a15f74dc57122837627b5b73de629)
Ticket #415 - winsync doesn't sync DN valued attributes if DS DN value doesn't exist

Description:
Once we had a NULL vs checking (Ticket #415):
commit 737169e0afd0547b6de0a61081508314d076cc6a,
but it was accidentally removed by the next commit (Ticket 346):
commit 890fc22687821279f3862fc0862a4e8d93c00291.

This patch adds the NULL checking for vs.
Trac Ticket #443 - Deleting attribute present in nsslapd-allowed-to-delete-attrs returns Operations error

Description: Backporting the patch to 1.2.11 branch by commit
9cc7fade0b5440479b39ddbcb989e5ed220b267f accidentally removed
5 config parameters from the table:
  CONFIG_LISTEN_BACKLOG_SIZE, CONFIG_MALLOC_MXFAST,
  CONFIG_MALLOC_TRIM_THRESHOLD, CONFIG_MALLOC_MMAP_THRESHOLD,
  CONFIG_IGNORE_TIME_SKEW
Resurrecting them.
Ticket 47446 - logconv.pl memory continually grows

Bug Description:  Running logconv.pl without any special options
                  continually consumes more memory.

Fix Description:  The last fix introduced the use of regex matches which
                  caused the value of $1 to become undefined.  When using
                  all of the logconv cmd line switches, many undefined
                  variable warnings were printed.  This fix saves the value
                  of $1 in a local variable so that it it not undefined by
                  the use of subsequent regex matches.

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

Reviewed by: mreynolds (Thanks!)

(cherry picked from commit c4f396db2484362ecb7a1c54458ad794b8d5c506)
(cherry picked from commit db9c4e73ab98a43bcbbd6a2ffe84d3ff2f103de5)
(cherry picked from commit 3be093105fe5525fd66ac055ff58d48fbd0f823a)
Ticket #47875 - dirsrv not running with old openldap

Description: AC_SUBST(ldap_lib_ldif) was missing from configure.ac
for @ldap_lib_dir@.

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

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit 0ae55bcd61497c2fa7aaade40fe4ff6c91216325)
(cherry picked from commit 1bb438916825d72df023ca5f67fa7d8b7e6e36e3)
Ticket #47875 - dirsrv not running with old openldap

Description: ran autogen.sh
Revert "Ticket #47875 - dirsrv not running with old openldap"

This reverts commit e476c664d6ad2875e454722c6451a5411b1f38d1.
Revert "Ticket #47875 - dirsrv not running with old openldap"

This reverts commit dce84e1d4a12dbe9a461981d076ca3d0e17ef56c.
Ticket #47875 - dirsrv not running with old openldap

Description: Changing the function of AC_CHECK_LIB from ldif_open
to _init so that regardless of the contents of the library, it's
linked to the server if it exists.

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

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit 38c74d224c250abd907636f7d78e95775ebf63dd)
(cherry picked from commit 4917a5e4856c7fe0fb4f9b023c21eb64f277e319)
Ticket #47875 - dirsrv not running with old openldap

Description: Automatically generated files by autogen.sh.