-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax validation of
openldap_database
's suffix
parameter
The validation of the `suffix` parameter assumed conformance with RFC2247, but this is not a requirement and cause trouble to some users. A full validation of the suffix syntax to check if it conforms to RFC2253 is probably overkill, so for now, we just relax the used regexp to allow valid values which where previously rejected. Some valid DN syntax are still rejected, as supporting them would require to replace the regexp with a parser. Add them as known-bad examples in the test suite (pending tests). Fixes #391 Fixes #396
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters