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

saslAuthzTo/From LDUP URLs should have hostnames

parent 09d09369
Branches
Tags
No related merge requests found
......@@ -125,7 +125,10 @@ is_dn: bv.bv_len = uri->bv_len - (bv.bv_val - uri->bv_val);
return( LDAP_PROTOCOL_ERROR );
}
/* could check the hostname here */
if ( ludp->lud_host && *ludp->lud_host ) {
/* host part should be empty */
return( LDAP_PROTOCOL_ERROR );
}
/* Grab the scope */
*scope = ludp->lud_scope;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment