Univention Bugzilla – Bug 37633
100sync_gpo_ntsecurity_descriptor sync from UDM to SAM fails with CamelCase ldap/base
Last modified: 2015-03-27 13:03:43 CET
100sync_gpo_ntsecurity_descriptor fails with CamelCase ldap/base during test part "GPO Security Descriptor sync from UDM to SAM": =========================================================================== GPO Security Descriptor sync from UDM to SAM GPO Cleanup after exception: [...] Performing UCSTestUDM cTraceback (most recent call last): File "100sync_gpo_ntsecurity_descriptor", line 396, in <module> test.run() File "100sync_gpo_ntsecurity_descriptor", line 286, in run self.modify_sd_on_ucs_ldap_gpo(ucs_dn, ucs_ntsd) File "100sync_gpo_ntsecurity_descriptor", line 256, in modify_sd_on_ucs_ldap_gpo self.modify_udm_object('container/msgpo', dn=ucs_dn, msNTSecurityDescriptor=ucs_ntsd.as_sddl()) File "100sync_gpo_ntsecurity_descriptor", line 253, in modify_udm_object raise udm_test.UCSTestUDM_ModifyUDMObjectFailed({'module': modulename, 'kwargs': kwargs, 'returncode': child.returncode, 'stdout': stdout, 'stderr': stderr}) univention.testing.udm.UCSTestUDM_ModifyUDMObjectFailed: {'returncode': 3, 'stdout': 'E: object not found\n', 'stderr': '', 'module': 'container/msgpo', 'kwargs': {'dn': 'cn={b0a61ab8-4d74-4216-812d-12328010cd75},cn=policies,cn=system,dc=foobar,dc=com', 'msNTSecurityDescriptor': 'O:S-1-5-21-2368496554-448323768-1167203830-513G:S-1-5-21-2368496554-448323768-1167203830-512D:P(A;CI;RPWPCCDCLCLORCWOWDSDDTSW;;;S-1-5-21-2368496554-448323768-1167203830-512)(A;CI;RPWPCCDCLCLORCWOWDSDDTSW;;;S-1-5-21-2368496554-448323768-1167203830-519)(A;CIIO;RPWPCCDCLCLORCWOWDSDDTSW;;;CO)(A;;RPWPCCDCLCLORCWOWDSDDTSW;;;S-1-5-21-2368496554-448323768-1167203830-512)(A;CI;RPWPCCDCLCLORCWOWDSDDTSW;;;SY)(A;CI;RPLCLORC;;;AU)(OA;CI;CR;edacfd8f-ffb3-11d1-b41d-00a0c968f939;;AU)(A;CI;RPLCLORC;;;ED)S:AI(OU;CIIOIDSA;WP;f30e3bbe-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CIIOIDSA;WP;f30e3bbf-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)'}} ===========================================================================
This was a problem with the test case. UDM CLI is case sensitive so the test must use the correct case of the DN: r59160
OK - ucs-test -s s4connector -E dangerous /usr/share/ucs-test/52_s4connector/100sync_gpo_ntsecurity_descriptor Test passed