Closed DavidePrincipi closed 6 months ago
QA (todo)
samba 2.2.3-dev.1 openldap 2.2.2-dev.2
use: ghcr.io/nethserver/samba:2.2.3-dev.1
Create a domain with samba AD, you must be able to use a fqdn or a domain name starting by a digit and test you have no regression 1foo.domain.org and 1domain.org must be valid
foo.domain.org and domain.org must be valid
use : ghcr.io/nethserver/openldap:2.2.2-dev.2
Create a domain with openldap, you must be able to use a fqdn or a domain name starting by a digit and test you have no regression 1foo.domain.org and 1domain.org must be valid
foo.domain.org and domain.org must be valid
test case 1: VERIFIED test case 2: VERIFIED
Released openldap https://github.com/NethServer/ns8-openldap/releases/tag/2.2.2
Released samba https://github.com/NethServer/ns8-samba/releases/tag/2.2.3
The current LDAP domain name validator forbids name starting with a number.
Steps to reproduce
Expected results
The domain is created and provisioned correctly
Actual results
The validator prevents me to complete the task
Additional information
Sparse citations from AD documentation:
For OpenLDAP there should be no issue -- https://ldapwiki.com/wiki/Wiki.jsp?page=DC
Can we relax the regular expression that validates the domain name?
Yes, it seems...
Refs https://community.nethserver.org/t/ns8-rc1-openldap-domain-validation-failed/22690 Discussion https://mattermost.nethesis.it/nethesis/pl/yiiapr73spre8fz45norp4ao6y
Components
core 2.5.4 samba 2.2.2 openldap 2.2.1