#7470 TestBasicADTrust.test_ipauser_authentication is failing with error "Confidentiality required"
Closed: fixed 6 years ago Opened 6 years ago by gkaihoro.

TestBasicADTrust.test_ipauser_authentication is failing with error:

subprocess.CalledProcessError: Command '['/usr/bin/ldappasswd', '-D', 'uid=tuser,cn=users,cn=accounts,dc=dom-102,dc=abc,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com', '-w', 'Secret123', '-a', 'Secret123', '-s', 'userPasswd123', '-x', '-H', 'ldap://vm-102.abc.idm.lab.eng.brq.redhat.com']' returned non-zero exit status 1.
[ipatests.pytest_plugins.integration.host.Host.vm-102.ParamikoTransport] RUN ['/usr/bin/ldappasswd', '-D', 'uid=tuser,cn=users,cn=accounts,dc=dom-102,dc=abc,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com', '-w', 'Secret123', '-a', 'Secret123', '-s', 'userPasswd123', '-x', '-H', 'ldap://vm-102.abc.idm.lab.eng.brq.redhat.com']
[ipatests.pytest_plugins.integration.host.Host.vm-102.cmd60] RUN ['/usr/bin/ldappasswd', '-D', 'uid=tuser,cn=users,cn=accounts,dc=dom-102,dc=abc,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com', '-w', 'Secret123', '-a', 'Secret123', '-s', 'userPasswd123', '-x', '-H', 'ldap://vm-102.abc.idm.lab.eng.brq.redhat.com']
[ipatests.pytest_plugins.integration.host.Host.vm-102.cmd60] Result: Confidentiality required (13)
[ipatests.pytest_plugins.integration.host.Host.vm-102.cmd60] Additional info: Operation requires a secure connection.
[ipatests.pytest_plugins.integration.host.Host.vm-102.cmd60]
ipa: ERROR: Exit code: 1
[ipatests.pytest_plugins.integration.host.Host.vm-102.cmd60] Exit code: 1

According to documentation password operations must be performed over a secure connection, meaning SASL, TLS, or Start TLS. So we need to use the -ZZ option to force the connection to be successful.
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/managing_the_password_policy-password_change_extended_operation


master:

  • b7293a9 TestBasicADTrust.test_ipauser_authentication

Metadata Update from @tdudlak:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 years ago

ipa-4-6:

  • 2b6638b TestBasicADTrust.test_ipauser_authentication

Login to comment on this ticket.

Metadata