]> git.sur5r.net Git - openldap/commitdiff
ITS#6747
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Jan 2011 18:39:45 +0000 (18:39 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Jan 2011 18:39:45 +0000 (18:39 +0000)
CHANGES
libraries/libldap/abandon.c
libraries/libldap/search.c
servers/slapd/connection.c
servers/slapd/daemon.c

diff --git a/CHANGES b/CHANGES
index 903d51f6cd3ac51d60c258e26fbe49b1e9a785cf..dc43dcec5e4c42772e1929af7cc8adcd6cf3caa0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,17 +1,18 @@
 OpenLDAP 2.4 Change Log
 
 OpenLDAP 2.4.24 Engineering
-       Added contrib/kinit for kerberos tickets
-       Added contrib/noopsrch for entry counting (ITS#6598)
        Added libldap MozNSS non-blocking support (ITS#6714)
        Added slapadd attribute value checking (ITS#6592)
        Added slapcat continue mode for problematic DBs (ITS#6482)
        Added slapd-null back-config support (ITS#6624)
        Added slapd-sql autocommit support (ITS#6612)
        Added slapd-sql support for long long keys (ITS#6617)
+       Added contrib/kinit for kerberos tickets
+       Added contrib/noopsrch for entry counting (ITS#6598)
        Fixed liblber to not close invalid sockets (ITS#6585)
        Fixed liblber error setting (ITS#6732)
        Fixed liblber memory debugging (ITS#6733)
+       Fixed libldap connectionless warnings (ITS#6747)
        Fixed libldap dnssrv port format specifier (ITS#6644)
        Fixed libldap EOF handling (ITS#6723)
        Fixed libldap GnuTLS hang on socket close (ITS#6673)
@@ -25,6 +26,7 @@ OpenLDAP 2.4.24 Engineering
        Fixed slapd acl parsing overflow (ITS#6611)
        Fixed slapd support for BDB 5.0+ (ITS#6698)
        Fixed slapd config leak with olcDbDirectory (ITS#6634)
+       Fixed slapd connectionless warnings (ITS#6747)
        Fixed slapd to free controls if needed (ITS#6629)
        Fixed slapd filter leak (ITS#6635)
        Fixed slapd matching rules for strict ordering (ITS#6722)
index e230099186c2586d4aff2c237151e688666f2b7f..c1b72f57121bdee228e5195a87dc12f72ef9fb1a 100644 (file)
@@ -211,7 +211,7 @@ start_again:;
                        if ( LDAP_IS_UDP(ld) ) {
                                struct sockaddr sa = {0};
                                /* dummy, filled with ldo_peer in request.c */
-                               err = ber_write( ber, &sa, sizeof(sa), 0 );
+                               err = ber_write( ber, (char *) &sa, sizeof(sa), 0 );
                        }
                        if ( LDAP_IS_UDP(ld) && ld->ld_options.ldo_version ==
                                LDAP_VERSION2 )
index d74a6109a307a314a982a39887c00775851b37bd..65d55e477419d70bb3a4f49b65f38352ec9960cd 100644 (file)
@@ -302,7 +302,7 @@ ldap_build_search_req(
        if ( LDAP_IS_UDP(ld) ) {
                struct sockaddr sa = {0};
                /* dummy, filled with ldo_peer in request.c */
-           err = ber_write( ber, &sa, sizeof( sa ), 0 );
+           err = ber_write( ber, (char *) &sa, sizeof( sa ), 0 );
        }
        if ( LDAP_IS_UDP(ld) && ld->ld_options.ldo_version == LDAP_VERSION2) {
            char *dn = ld->ld_options.ldo_cldapdn;
index c99f365624e08c395e55c09145aadb937eab8136..83bed4e9495f57b246d02dc09a10288c0afe5cba 100644 (file)
 #include "lutil.h"
 #include "slap.h"
 
+#ifdef LDAP_CONNECTIONLESS
+#include "../../libraries/liblber/lber-int.h"  /* ber_int_sb_read() */
+#endif
+
 #ifdef LDAP_SLAPI
 #include "slapi/slapi.h"
 #endif
index a27031bb660da2853f7bf7a0904b34fbfe8cc2a4..a504842ae0266acaac5593d44bbe82429ed7b007 100644 (file)
@@ -2804,7 +2804,7 @@ connectionless_init( void )
                if ( !c ) {
                        Debug( LDAP_DEBUG_TRACE,
                                "connectionless_init: failed on %s (%d)\n",
-                               lr->sl_url, lr->sl_sd, 0 );
+                               lr->sl_url.bv_val, lr->sl_sd, 0 );
                        return -1;
                }
                lr->sl_is_udp++;