Ticket 47740 - Fix coverity issues - Part 5

12494 - resource leak - /ldap/servers/slapd/saslbind.c
12487 - resource leak - /ldap/servers/plugins/replication/urp.c
12486 - resource leak - /ldap/servers/plugins/acl/acleffectiverights.c
12480 - resource leak - lib/ldaputil/certmap.c
12478 - resource leak - lib/ldaputil/certmap.c
12477 - resource leak - lib/ldaputil/certmap.c

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

Reviewed by: rmeggins(Thanks!)
Ticket #47735 - e_uniqueid fails to set if an entry is a conflict entry

Description: In commit e2b8468f459647261812f542485f3481d39bd26c,
to get the base type length when a state info is stripped from
the attribute type, the fix in str2entry_state_information_from_type
blindly returned the base type length for the ordinary sub-typed
attributes.  This patch fixes it so that only when the state info
is removed, the length is reset.

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

Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
(cherry picked from commit a7ac181d60b1f2ecd3640d0b610eba300b7c3cdb)
Ticket #47740 - Coverity issue in 1.3.3

Description: Coverity 11778 - Resource leak
val was allocated by dbconf_decodeval, which was not freed if propval
failed to create.

Reviewed by mareynol@redhat.com (Thanks, Mark!)
(cherry picked from commit 6f51e06c606049e7ca8e0b763c683fa98b33974a)
Bump version to 1.3.2.15
Ticket 47732 - ds logs many "SLAPI_PLUGIN_BE_TXN_POST_DELETE_FN plugin returned error" messages

Bug Description:  there are many error messages relate to postop delete plugins
			whichare not justified

Fix Description:   the usn plugin always returns an error when an attempt is made
			to delete a non-existing entry, checking the ldap code in
			the pblock.
			But the plugin executes correctly and the error is aleady set
			so return succes

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

Reviewed by: richm, thanks
Ticket 47740 - Fix coverity issues: null deferences - Part 6

12474 - Null pointer dereference - ldap/servers/slapd/tools/migratecred.c
12473 - Null pointer dereference - ldap/srevers/slapd/snmp/main.c
12468 - Null pointer dereference - ldap/servers/plugins/memberof/memberof.c

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

Reviewed by: rmeggins(Thanks!)
(cherry picked from commit d39807865d63244236ef2dcbd36d74ae857419a3)
Ticket 47733 - ds logs many "Operation error fetching Null DN" messages

Bug Description:  in ipa tests there are many of the above
			messages logged. The reason is that
			in txn access to database for a locked
			page DB_DEADLOCK is detected and
			after a few retries the error is logged.
			for more info cf to the ticket

Fix Description:   introduce a sleep in th eretry loop to get a chance that
			th epage will be released

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

Reviewed by: richm,thanks
Ticket 47740 - Crash caused by changes to certmap.c

Bug Description: dncomps & filtercomps could be incorrectly freed,
                 which lead to a crash.

Fix Description: Allocate "" for dncomps & filtercomps, instead of
                 setting it on the stack.

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

Reviewed by: rmeggins(Thanks!)
(cherry picked from commit 33b98f1c901f1441dd1f709e244735fa339a287e)
Ticket 47743 - Memory leak with proxy auth control

Description:  We were not properly freeing the ber when parsing
              the proxy auth DN.

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

Reviewed by: rmeggins(Thanks!)
(cherry picked from commit e4a1de6abf9cf349f89c7b55527e89da258c5fd5)