Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:steffens:lvermgeo:server
openldap2-15.4
1001-ITS-9100-relax-domainScope-check-for-absen...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1001-ITS-9100-relax-domainScope-check-for-absent-value.patch of Package openldap2-15.4
From a0de105946f44864bb4163bc9d0bb6506c71ad20 Mon Sep 17 00:00:00 2001 From: Howard Chu <hyc@openldap.org> Date: Mon, 28 Oct 2019 19:01:36 +0000 Subject: [PATCH] ITS#9100 relax domainScope check for absent value --- servers/slapd/controls.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 30e28136ce..0775f35db2 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -1660,7 +1660,11 @@ static int parseDomainScope ( return LDAP_PROTOCOL_ERROR; } - if ( !BER_BVISNULL( &ctrl->ldctl_value )) { + /* this should be checking BVISNULL, but M$ clients are broken + * and include the value even though the M$ spec says it must be + * omitted. ITS#9100. + */ + if ( !BER_BVISEMPTY( &ctrl->ldctl_value )) { rs->sr_text = "domainScope control value not absent"; return LDAP_PROTOCOL_ERROR; } -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor