f5-appsvcs-extension icon indicating copy to clipboard operation
f5-appsvcs-extension copied to clipboard

LDAP monitor does not support space in Username attribute

Open stanislaspiron opened this issue 3 years ago • 2 comments
trafficstars

Environment

  • Application Services Version: 3.34 and 3.36
  • BIG-IP Version:15.1.5.1

Summary

A clear and concise description of what the bug is. LDAP monitor Username attribute does not support space

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following object in declaration:
            "monitor_ldap": {
                "timeout": 61,
                "interval": 20,
                "monitorType": "ldap",
                "class": "Monitor",
                "base": "o=My Company",
                "username": "CN=xxx,ou=Managers,o=My Company"
            },
  1. Observe the following error response:
        {
            "code": 422,
            "message": "declaration failed",
            "response": "\\\"Company\\\" unknown property",
            "host": "localhost",
            "tenant": "apines_automation",
            "runTime": 3634
        }

Expected Behavior

username attribute should accept space un value

Actual Behavior

Declaration fails because of space in username. space in base attribute is accepted.

Workaround

add quotes around the username attribute value:

            "monitor_ldap": {
                "timeout": 61,
                "interval": 20,
                "monitorType": "ldap",
                "class": "Monitor",
                "base": "o=My Company",
                "username": "'CN=xxx,ou=Managers,o=My Company'"
            },

The configuration in LTM monitors matches the value between quotes.

stanislaspiron avatar May 10 '22 12:05 stanislaspiron

Thank you for your feedback. I have added this to our internal product backlog as AUTOTOOL-3304.

dstokesf5 avatar Jun 23 '22 17:06 dstokesf5

In order to prioritize, please reach out to us at [email protected]. Thanks

sunitharonan avatar Nov 07 '22 19:11 sunitharonan