AE-666 Hostname field for LDAP Configuration for admin aaa server doesn't have validation check.
Review Request #689 — Created March 3, 2025 and updated
| Information | |
|---|---|
| sojain | |
| APV10 | |
| https://arraynetworks.atlassian.net/browse/AE-666 | |
| Reviewers | |
| mmiriam, pradeep, prajesh, tanya | |
AE-666 Fix include checking for valid ip address using inet_pton
APV Release Version : 10.7
Are we able to reproduce the issue : YesActual behavior :
Ldap configuration is successful with in correct ip as shown in the showtech and attachment.
Post Fix (Screen Shots are attached in Jira)
From CLI
Config:
======
AN#show admin aaa all
admin aaa on 1
admin aaa authorize on
admin aaa method LDAP
admin aaa server es03 "192.168,182.100" 389 "CN=Users,DC=BLRLAB,DC=IN" "CN=QA,CN=Users,DC=BLRLAB,DC=IN"Output: Invalid IP address
WebUI
System -> User Mangement -> Admin AAA Settings -> Basic Setting -> Add
- Add valid IP address : server added
- Add Invalid IP address : Error. Invalid IP address
Change Summary:
Fix include checking for valid ip address using inet_pton
Summary: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Testing Done: |
|
