#1477 TPS UI: Add token is not working
Closed: Fixed None Opened 8 years ago by rpattath.

TPS UI: Add token is not working

Steps to Reproduce:

1. Add a token using TPS UI by providing token ID and user ID

Actual results:

An error dialog with the following message

add token:LDAP operation failure - cn=4323432141413,ou=Tokens,dc=pki-tps1
netscape.ldap.LDAPException: error result (21); keyInfo: value #0 invalid per
syntax tokenAppletID: value #0 invalid per syntax tokenType: value #0 invalid
per syntax tokenPolicy: value #0 invalid per syntax

Expected results:

token should be added successfully

Additional info:

token-add cli command requires only token ID and User ID the same is expected
from the TPS UI

[root@cypher ~]# pki -d /opt/rhqa_pki/certs_db/ -n TPS1_adminV -c Secret123 -h
localhost -p 31890 tps-token-add 12345678234234 --user pkiuser2

----------------------------
Added token "12345678234234"
----------------------------
  Token ID: 12345678234234
  User ID: pkiuser2
  Status: UNINITIALIZED
  Date Created: Wed Jul 08 14:24:17 EDT 2015

Per CS/DS meeting of 07/13/2015: 10.2.6

Per IRC discussion with jmagne and edewata: 10.3

Need to investigate if the token add functionality should be retained in the UI. Tokens are usually added using tpsclient.

Fixed in master:

  • 987dda15acdd6e6f4c7c477fed122a76ad40260c

Metadata Update from @rpattath:
- Issue assigned to edewata
- Issue set to the milestone: 10.3.0

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2036

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata