]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: relax name length validation to support KMIP/GKLM aliases 66385/head
authorAvan Thakkar <athakkar@redhat.com>
Mon, 24 Nov 2025 10:58:43 +0000 (16:28 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Wed, 8 Apr 2026 14:34:35 +0000 (20:04 +0530)
commitb747e17484284487c6b5b2753e8965999d747bc8
tree7d6b3ea910fced8b1239d76ec05988a6b96972d0
parent43a3e73f7effe6430c8188b09ad054d3ab6ed578
mgr/smb: relax name length validation to support KMIP/GKLM aliases

Introduce new regex for mem/kmip key names to allow up to 63 characters, which
matches the maximum permitted DNS label length (RFC 1035).

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
src/pybind/mgr/smb/resources.py
src/pybind/mgr/smb/tests/test_validation.py
src/pybind/mgr/smb/validation.py