--On Friday, August 26, 2022 2:29 PM +0200 Ulrich Windl <[email protected]> wrote:
Hi! I'm programming some automated changes to our LDAP database, and I have an issue: # Error: Invalid DN syntax (34), additional info: invalid new RDN dn: cn=subntbcst_tftp@247/tcp,dc=services,dc=net,dc=...,dc=de changetype: modrdn newrdn: subntbcst-tftp@247/tcp deleteoldrdn: 1 So is the new RDN "subntbcst-tftp@247/tcp" really invalid? If so it seems an older version of OpenLDAP accepted that as we have such an entry:
Was the older entry imported via slapadd, which doesn't do a lot of validation?
While I see the "\" character requires escaping, I can't find anything really discussing "/" (i.e., <https://ldapwiki.com/wiki/DN%20Escape%20Values>)
The "@", "_", and "-" clearly don't require escaping. Regards, Quanah
