#50800 wildcards in rootdn-allow-ip attribute are not accepted
Opened 2 months ago by yrro. Modified 2 days ago

Issue Description

Attempting to use a wildcard in the rootdn-allow-ip attribute of the rootdn_access plugin causes the server to fail to start:

ERR - rootdn-access-control-plugin - rootdn_load_config - IP address contains invalid characters (127.*), skipping
ERR - rootdn-access-control-plugin - rootdn_init - Unable to load plug-in configuration
ERR - plugin_setup - Init function "rootdn_init" for "RootDN Access Control" plugin in library "librootdn-access-plugin" failed
ERR - load_plugin_entry - Unable to load plugin "cn=RootDN Access Control,cn=plugins,cn=config"

The use of wildcards is documented and was allowed when the plugin was originally added, but the changes in #48027 unintentionally broke the parsing of values containing a *.


Hey @yrro did you want to make this fix a PR so that we can comment and discuss it there?

Thanks for reporting the issue by the way :)

Metadata Update from @firstyear:
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None

2 months ago

Thanks! I'll review further there.

Metadata Update from @mreynolds:
- Issue set to the milestone: 1.3.10

2 months ago

Metadata Update from @mreynolds:
- Issue set to the milestone: 1.4.1 (was: 1.3.10)

16 days ago

Metadata Update from @mreynolds:
- Issue priority set to: major

16 days ago

Metadata Update from @mreynolds:
- Issue set to the milestone: 1.3.10 (was: 1.4.1)

2 days ago

Metadata Update from @mreynolds:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1807537

2 days ago

Login to comment on this ticket.

Metadata