Bug 37633 - 100sync_gpo_ntsecurity_descriptor sync from UDM to SAM fails with CamelCase ldap/base
100sync_gpo_ntsecurity_descriptor sync from UDM to SAM fails with CamelCase l...
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: S4 Connector
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.0-1-errata
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on:
Blocks: 38144
  Show dependency treegraph
 
Reported: 2015-01-27 13:54 CET by Arvid Requate
Modified: 2015-03-27 13:03 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2015-01-27 13:54:44 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)'}}
===========================================================================
Comment 1 Stefan Gohmann univentionstaff 2015-03-18 10:51:26 CET
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
Comment 2 Felix Botner univentionstaff 2015-03-23 16:23:38 CET
OK - ucs-test -s s4connector -E dangerous
     /usr/share/ucs-test/52_s4connector/100sync_gpo_ntsecurity_descriptor 
     Test passed