mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
saslAuthzTo/From LDUP URLs should have hostnames
This commit is contained in:
parent
09d093698c
commit
cbba11d7cd
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue