f5-appsvcs-extension
f5-appsvcs-extension copied to clipboard
LDAP monitor does not support space in Username attribute
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:
- 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"
},
- 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.
Thank you for your feedback. I have added this to our internal product backlog as AUTOTOOL-3304.
In order to prioritize, please reach out to us at [email protected]. Thanks