Univention Bugzilla – Bug 43598
Write test cases for LDAP Filter / DN escaping
Last modified: 2017-06-23 18:39:01 CEST
We need test cases for LDAP Filter / DN escaping in the S4-Connector. +++ This bug was initially created as a clone of Bug #32086 +++
Created attachment 8444 [details] test case It makes sense to migrate the test cases to python to parametrize them. There are already cloned test case which do the same things with different names (special_chars). Attached is a python version which could be used as base.
Created attachment 8778 [details] Patch-series with preparations and two new tests cases The attached patch-series implements two new S4C tests cases with complex users/groups to test the LDAP escaping within the S4C. They are attached because 1) it depends on bug #44373 and 2) some discussion may be necessary if this is sufficient.
Committed in r79190 - r79206. r79205 disables the cases where the s4connector yields a traceback and the new tests fail. This should be reverted after bug #44374 is fixed.
very nice! both tests are working and all other tests still work.