Bug 34968 - Invalid credentials S3,Member
Invalid credentials S3,Member
Status: RESOLVED WORKSFORME
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-26 13:22 CEST by Philipp Hahn
Modified: 2023-07-26 15:18 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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:
best: Patch_Available+


Attachments
Fail some test early (3.88 KB, patch)
2014-05-26 13:22 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-05-26 13:22:26 CEST
Created attachment 5925 [details]
Fail some test early

Jenkins test failed on only S3,Member because of invalid LDAP credentials:

> *** 00_base/96rename_domain_admins *** Rename Domain Admins ***
> authentication error: Authentication failed (

	Testergebnis (54 fehlgeschlagene Tests / +54)
00_base.96rename_domain_admins.test
00_base.96rename_domain_users.test
10_ldap.41listener.test
10_ldap.70schema_registration_basis.test
10_ldap.70schema_unregistration_basis.test
10_ldap.72schema_reregistration_object_class.test
10_ldap.73schema_registration_twice.test
10_ldap.74schema_update.test
10_ldap.80acl_registration_basis.test
10_ldap.80acl_unregistration_basis.test
10_ldap.82acl_register_invalid_acl.test
10_ldap.83acl_registration_versioncheck.test
49_nfs.10many-groups.test
50_samba.30winbind.test
50_samba.41password_change.test
50_samba.85domain-join-without-admin-rights.test
53_samba-common.05domain-join-ntlm-auth.test
53_samba-common.10samba-share-options.test
53_samba-common.15nfs-share-options.test
53_samba-common.46share_access_permissions_sambaInvalidUsers.test
53_samba-common.46share_access_permissions_sambaValidUsers.test
53_samba-common.46share_access_permissions_sambaWriteable_No.test
53_samba-common.47file_access_permissions-unixmode.test
53_samba-common.50quota.test
60_umc-system.10_umc-service-list.test
60_umc-system.20_umc-service-autostart.test
60_umc-system.21_umc-service-proc-handling.test
60_umc-system.22_umc-service-proc-killing.test
60_umc-system.30_umc-service-user-modules.test
60_umc-system.40_umc-service-domain-join.test
60_umc.05_get_client_ip_address.test
72_udm-extensions.01_register_deregister_via_joinscript.test
72_udm-extensions.03_register_and_verify_ldap_object.test
72_udm-extensions.04_register_and_verify_test_app_id.test
72_udm-extensions.05_register_and_verify_version_start_end.test
72_udm-extensions.06_register_with_non_join_accounts.test
72_udm-extensions.07_register_and_verify_all.test
72_udm-extensions.10_update_extension_via_package.test
72_udm-extensions.11_update_extension_via_package_expected_fail.test
72_udm-extensions.12_update_extension_via_other_packagename.test
72_udm-extensions.20_create_via_udm_cli.test
72_udm-extensions.21_listener_version_start_end.test
72_udm-extensions.22_listener_version_change.test
72_udm-extensions.23_rename_object.test
72_udm-extensions.24_update_packageversion.test
72_udm-extensions.25_listener_check_active.test
72_udm-extensions.26_create_with_invalid_ucsversions.test
72_udm-extensions.30_file_integrity.test
72_udm-extensions.31_filename_attack.test
72_udm-extensions.32_file_integrity_udm_module.test
72_udm-extensions.40_test_udm_hook.test
72_udm-extensions.41_test_udm_module.test
72_udm-extensions.42_test_udm_syntax.test
72_udm-extensions.43_test_update-python-modules.test

I've been able to reproduce the same result by accident when first doing the installation of ucs-test and only then joining the domain. In that case the UCRV containing the DN was not updated:
  'tests/domain/account='uid=Administrator,cn=users,*dc=ucs,dc=local*'
but it might be some completely different problem.

The UCRV should be (re-)set by a join-script. 


# grep '^\*\*\*|authentication error: Authentication' ucs-test.log
*** BEGIN *** ['/bin/bash', '95rename_administrator'] ***
*** 00_base/95rename_administrator *** Rename Administrator ***
authentication error: Authentication failed
*** END *** 100 ***
*** BEGIN *** ['/bin/bash', '96rename_domain_admins'] ***
*** 00_base/96rename_domain_admins *** Rename Domain Admins ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '96rename_domain_users'] ***
*** 00_base/96rename_domain_users *** Rename Domain Users ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '41listener'] ***
*** 10_ldap/41listener *** Check listener functionality ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python2.6', '70schema_registration_basis'] ***
*** 10_ldap/70schema_registration_basis *** Test basic schema registration ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python2.6', '70schema_unregistration_basis'] ***
*** 10_ldap/70schema_unregistration_basis *** Test schema unregistration ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python2.6', '72schema_reregistration_object_class'] ***
*** 10_ldap/72schema_reregistration_object_class *** Test the schema reregistration of a known objectClass ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python2.6', '73schema_registration_twice'] ***
*** 10_ldap/73schema_registration_twice *** Test if a schema is still activated even if it was added twice ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python2.6', '74schema_update'] ***
*** 10_ldap/74schema_update *** Test schema update ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '10many-groups'] ***
*** 49_nfs/10many-groups *** Check user with many groups using /bin/ps and NFS ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '30winbind'] ***
*** 50_samba/30winbind *** Winbind Test ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '41password_change'] ***
*** 50_samba/41password_change *** Testing password change with udm and samba ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '85domain-join-without-admin-rights'] ***
*** 50_samba/85domain-join-without-admin-rights *** Join a domain without admin rights ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '05domain-join-ntlm-auth'] ***
*** 53_samba-common/05domain-join-ntlm-auth *** Checking domain join and ntlm authentication ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '10samba-share-options'] ***
*** 53_samba-common/10samba-share-options *** Checking all udm samba options in samba conf file ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '15nfs-share-options'] ***
*** 53_samba-common/15nfs-share-options *** Checking all udm nfs options in exports file ***
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '46share_access_permissions_sambaInvalidUsers'] ***
*** 53_samba-common/46share_access_permissions_sambaInvalidUsers *** Access a share as a user listed on sambaInvalidUsers ***
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '46share_access_permissions_sambaValidUsers'] ***
*** 53_samba-common/46share_access_permissions_sambaValidUsers *** Access a share as a user whitelisted by sambaValidUsers ***
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '46share_access_permissions_sambaWriteable_No'] ***
*** 53_samba-common/46share_access_permissions_sambaWriteable_No *** Write access to a share with sambaWriteable=No ***
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '47file_access_permissions-unixmode'] ***
*** 53_samba-common/47file_access_permissions-unixmode *** Test whether samba respects unix permissions set with UDM ***
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/bin/bash', '50quota'] ***
*** 53_samba-common/50quota *** Check quota support ***
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
authentication error: Authentication failed
*** END *** 110 ***
*** BEGIN *** ['/usr/bin/python', '01_register_deregister_via_joinscript'] ***
*** 72_udm-extensions/01_register_deregister_via_joinscript *** Register and deregister UDM extension via joinscript ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '03_register_and_verify_ldap_object'] ***
*** 72_udm-extensions/03_register_and_verify_ldap_object *** Register UDM extension and perform simple LDAP verification ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '04_register_and_verify_test_app_id'] ***
*** 72_udm-extensions/04_register_and_verify_test_app_id *** Check setting of UNIVENTION_APP_ID for UDM extensions ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '05_register_and_verify_version_start_end'] ***
*** 72_udm-extensions/05_register_and_verify_version_start_end *** Check setting of a version range for UDM extensions ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '07_register_and_verify_all'] ***
*** 72_udm-extensions/07_register_and_verify_all *** Register and verify all UDM extension in one step ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '10_update_extension_via_package'] ***
*** 72_udm-extensions/10_update_extension_via_package *** Test extension update with correct version order ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '11_update_extension_via_package_expected_fail'] ***
*** 72_udm-extensions/11_update_extension_via_package_expected_fail *** Test extension update with wrong version order ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '12_update_extension_via_other_packagename'] ***
*** 72_udm-extensions/12_update_extension_via_other_packagename *** Test extension update with other package name ***
authentication error: Authentication failed
*** END *** 1 ***
*** BEGIN *** ['/usr/bin/python', '32_file_integrity_udm_module'] ***
*** 72_udm-extensions/32_file_integrity_udm_module *** Register and deregister UDM extension via joinscript ***
authentication error: Authentication failed
*** END *** 1 ***
Comment 2 Philipp Hahn univentionstaff 2023-07-26 15:18:45 CEST
Non-issue for 9y.