Bug 492411 - TPS: agent is failing to show/list certificates when baseDN is changed.
Summary: TPS: agent is failing to show/list certificates when baseDN is changed.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: TPS
Version: unspecified
Hardware: All
OS: Linux
high
urgent
Target Milestone: ---
Assignee: Ade Lee
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 443788
TreeView+ depends on / blocked
 
Reported: 2009-03-26 18:41 UTC by Asha Akkiangady
Modified: 2015-01-04 23:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-29 19:16:00 UTC
Embargoed:


Attachments (Terms of Use)
tps agent listing token for the User (77.04 KB, image/png)
2009-03-26 18:41 UTC, Asha Akkiangady
no flags Details
token details (80.43 KB, image/png)
2009-03-26 18:44 UTC, Asha Akkiangady
no flags Details
Show Certificates displaying blank page (64.94 KB, image/png)
2009-03-26 18:46 UTC, Asha Akkiangady
no flags Details
TPS debug log messages when show certificates is clicked. (11.94 KB, text/plain)
2009-03-26 18:50 UTC, Asha Akkiangady
no flags Details

Description Asha Akkiangady 2009-03-26 18:41:23 UTC
Created attachment 336863 [details]
tps agent listing token for the User

Description of problem:
TPS agent is failing to show/list certificates when baseDN is changed. Enrolled few user tokens with tps's CS.cfg for the regular user authentication baseDN=dc=esctest,dc=redhat,dc=com. Changed the baseDN to 'dc=my.test,dc=redhat,dc=com' and enrolled a user token, agent lists token enrolled for the user., clicking on show certificate is not showing the certificates. Also, agent function to list certificates is not showing this user certs.

Version-Release number of selected component (if applicable):
CS 8.0

How reproducible:


Steps to Reproduce:
1. Configured TPS CS.cfg for the regular user authentication baseDN=dc=esctest,dc=redhat,dc=com.
2. performed security officer station functions such as enrollments/formats etc. I had enrolled/formatted token#1 few times., now it is formatted. 
3. change CS.cfg for the regular user authentication with baseDN=dc=my.test,dc=redhat,dc=com
4. restart tps server.
5. have a user User#1 in the ldap db with baseDN=dc=my.test,dc=redhat,dc=com.
6. from the security officer station enroll token#1 for User#1.
7. enrollment succeeds. 
8. tps agent lists the token#1 associated to User#1 with an active status.
9. tps agent list the token and click on the token number, shows the token details.
10. click on Show Certificates
  
Actual results:
Search Certificates result is blank.

Expected results:
Should show all the signing/encryption certs for token#1.

Additional info:

Comment 1 Asha Akkiangady 2009-03-26 18:44:51 UTC
Created attachment 336864 [details]
token details

Comment 2 Asha Akkiangady 2009-03-26 18:46:03 UTC
Created attachment 336865 [details]
Show Certificates displaying blank page

Comment 3 Asha Akkiangady 2009-03-26 18:50:05 UTC
Created attachment 336866 [details]
TPS debug log messages when show certificates is clicked.

Comment 4 Ade Lee 2009-03-26 19:45:08 UTC
My guess is that this is a problem with having a basedn with a period in it.
There is another bug related to this ..

https://bugzilla.redhat.com/show_bug.cgi?id=490226


Please change to a simple basedn (like mytest instead of my.test) and confirm.

Comment 5 Ade Lee 2009-04-24 16:24:34 UTC
Unable to reproduce.  And Asha was unable to reproduce either as far as I can tell.

The problem was likely some other issue, but its unclear what that issue would have been. In future, please include "view page source" of the blank pages.  If there is something there - we can identify the bad data.

Comment 6 Asha Akkiangady 2009-05-29 19:16:00 UTC
I am not able to reproduce this big. Hence closing it.


Note You need to log in before you can comment on or make changes to this bug.