]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/sasl.c
moved rdn parsing in a dedicated routine, ldap_str2rdn(), that can be used directly...
[openldap] / libraries / libldap / sasl.c
index a435b2b2d19182ca8bff4598bb9eba77150cf4a2..a3630e9781bbaa994e99e1909253d6ffee5d807f 100644 (file)
@@ -186,6 +186,12 @@ ldap_sasl_bind_s(
                return( rc );
        }
 
+#ifdef LDAP_CONNECTIONLESS
+       if (LDAP_IS_UDP(ld)) {
+               return( rc );
+       }
+#endif
+
        if ( ldap_result( ld, msgid, 1, NULL, &result ) == -1 ) {
                return( ld->ld_errno ); /* ldap_result sets ld_errno */
        }