Univention Bugzilla – Bug 51783
Make remove_s4_rejected.py non case-sensitive
Last modified: 2020-08-06 14:56:59 CEST
Troubleshooting is painful when running into this... Happened while troubleshooting another issue. =================== root@luiseedu:/var/log/univention# univention-s4connector-list-rejected UCS rejected S4 rejected 1: S4 DN: CN=dns,DC=schulen,DC=ucs UCS DN: cn=dns,dc=schulen,dc=ucs last synced USN: 6602 ===================== BUT: ===================== root@luiseedu:/var/log/univention# /usr/share/univention-s4-connector/remove_s4_rejected.py "cn=dns,dc=schulen,dc=ucs" ERROR: The object cn=dns,dc=schulen,dc=ucs was not found. ==================== Only using the capital letters made it work: =================== root@luiseedu:/var/log/univention# /usr/share/univention-s4-connector/remove_s4_rejected.py "CN=dns,DC=schulen,DC=ucs"The rejected S4 object CN=dns,DC=schulen,DC=ucs has been removed. =================== This is for sure not to be expected and should be handled accordingly. At least improve the error message with something like: "This tool is case sensitive, please double-check DN!"