Ticket #47550 logconv: failed logins: Use of uninitialized value in numeric comparison at logconv.pl line 949

https://fedorahosted.org/389/ticket/47550
Reviewed by: nhosoi (Thanks!)
Branch: 389-ds-base-1.3.0
Fix Description: Copy/paste error.  Changed badPassword to badPasswordIp.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit 322fd7996aa810db1b51882d8d1103e11a36cc62)
(cherry picked from commit 86000e43d69267d0b6b8110dcdba43352868c173)
(cherry picked from commit 5844c565267cf23f8a1c4ca5177d26cd82809392)
Ticket 47329 - Improve slapi_back_transaction_begin() return code when transactions are not available

    Bug Description:  The slapi_back_transaction_begin() function needs it's return codes
                      to be changed to be more friendly for plug-in writers when
                      transactions are not available.

    Fix Description:  Added new error code SLAPI_BACK_TRANSACTION_NOT_SUPPORTED, and
                      updated the slapi_plugin.h

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

    Reviewed by: Noriko, Ludwig, and Rich(Thanks!!!)
(cherry picked from commit 8879ed2efa48e96f2b920a3ab83036b07e3b3ae4)
(cherry picked from commit badcb1ac60bfb4c54fe264088a3c730b2ce2ac11)
Coverity Fixes

13177 - Unreachable code (backend.c)
13175 - Resource leak (repl5_ruv.c)

Did code cleanup in libaccess/oneval.cpp before I do the fix for 13176(resource leak).
This is will be a separate commit.

https://bugzilla.redhat.com/show_bug.cgi?id=970221

Reviewed by: richm(Thanks!)
(cherry picked from commit 6e07f4df6c1963f40368d0ae17e0775aa33362af)
removed the repl5_ruv.c changes because they do not apply to 1.3.1
(cherry picked from commit 21dccd37e7883ff3b9ace01350e3123dc42b3b82)
ticket #47550 wip
(cherry picked from commit 82377636267787be5182457d619d5a0b662d2658)
(cherry picked from commit 181fde98aee96868189bc5557c5f33fefa026952)
(cherry picked from commit 13dd9625b01d820526d7187e524669ee83edfe62)
Ticket #47559 hung server - related to sasl and initialize

https://fedorahosted.org/389/ticket/47559
Reviewed by: nhosoi (Thanks!)
Branch: 389-ds-base-1.3.0
Fix Description: Use a mutex to protect calls to openldap functions that do
anything with crypto - bind, unbind, start_tls, other calls.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit da3e4aa40b04094d0e77052b894b0f0c335ea1ef)
(cherry picked from commit 7b3b2fe9d4a7f73a12b4f2d499b2e6a2f80e454b)