Skip to content
Snippets Groups Projects
Commit f4fb7695 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5583

parent 6c7710fb
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ OpenLDAP 2.4.11 Engineering ...@@ -11,6 +11,7 @@ OpenLDAP 2.4.11 Engineering
Fixed slapd sets memory leak (ITS#5557) Fixed slapd sets memory leak (ITS#5557)
Fixed slapd-meta link to slapd-ldap (ITS#5355) Fixed slapd-meta link to slapd-ldap (ITS#5355)
Fixed slapd-sock, back-shell buffer count (ITS#5558) Fixed slapd-sock, back-shell buffer count (ITS#5558)
Fixed slapo-dynlist dg attrs lookup (ITS#5583)
Added slapo-nssov contrib module Added slapo-nssov contrib module
Fixed slapo-pcache handling of negative search caches (ITS#5546) Fixed slapo-pcache handling of negative search caches (ITS#5546)
Fixed slapo-ppolicy DNs with whitespaces (ITS#5552) Fixed slapo-ppolicy DNs with whitespaces (ITS#5552)
......
...@@ -1557,22 +1557,26 @@ dynlist_db_open( ...@@ -1557,22 +1557,26 @@ dynlist_db_open(
} }
} }
rc = slap_str2ad( "dgIdentity", &ad_dgIdentity, &text ); if ( ad_dgIdentity == NULL ) {
if ( rc != LDAP_SUCCESS ) { rc = slap_str2ad( "dgIdentity", &ad_dgIdentity, &text );
snprintf( cr->msg, sizeof( cr->msg), if ( rc != LDAP_SUCCESS ) {
"unable to fetch attributeDescription \"dgIdentity\": %d (%s)", snprintf( cr->msg, sizeof( cr->msg),
rc, text ); "unable to fetch attributeDescription \"dgIdentity\": %d (%s)",
Debug( LDAP_DEBUG_ANY, "dynlist_db_open: %s\n", cr->msg, 0, 0 ); rc, text );
/* Just a warning */ Debug( LDAP_DEBUG_ANY, "dynlist_db_open: %s\n", cr->msg, 0, 0 );
/* Just a warning */
}
} }
rc = slap_str2ad( "dgAuthz", &ad_dgAuthz, &text ); if ( ad_dgAuthz == NULL ) {
if ( rc != LDAP_SUCCESS ) { rc = slap_str2ad( "dgAuthz", &ad_dgAuthz, &text );
snprintf( cr->msg, sizeof( cr->msg), if ( rc != LDAP_SUCCESS ) {
"unable to fetch attributeDescription \"dgAuthz\": %d (%s)", snprintf( cr->msg, sizeof( cr->msg),
rc, text ); "unable to fetch attributeDescription \"dgAuthz\": %d (%s)",
Debug( LDAP_DEBUG_ANY, "dynlist_db_open: %s\n", cr->msg, 0, 0 ); rc, text );
/* Just a warning */ Debug( LDAP_DEBUG_ANY, "dynlist_db_open: %s\n", cr->msg, 0, 0 );
/* Just a warning */
}
} }
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment