Skip to content
Snippets Groups Projects
Commit b33f8b75 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#647 from Paul R. Turgyan <pturgyan@umich.edu>

When calling ldap_search looking for "supportedSASLMechanisms",
a NULL string should be passed to ldap_search and not a NULL pointer.
parent 0f267845
Branches
Tags
No related merge requests found
......@@ -357,7 +357,7 @@ ldap_pvt_sasl_getmechs ( LDAP *ld, char **pmechlist )
Debug( LDAP_DEBUG_TRACE, "ldap_pvt_sasl_getmech\n", 0, 0, 0 );
rc = ldap_search_s( ld, NULL, LDAP_SCOPE_BASE,
rc = ldap_search_s( ld, "", LDAP_SCOPE_BASE,
NULL, attrs, 0, &res );
if ( rc != LDAP_SUCCESS ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment