Bug 492411

Summary: TPS: agent is failing to show/list certificates when baseDN is changed.
Product: [Retired] Dogtag Certificate System Reporter: Asha Akkiangady <aakkiang>
Component: TPSAssignee: Ade Lee <alee>
Status: CLOSED NOTABUG QA Contact: Chandrasekar Kannan <ckannan>
Severity: urgent Docs Contact:
Priority: high    
Version: unspecifiedCC: alee, benl, jmagne
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-29 19:16:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 443788    
Attachments:
Description Flags
tps agent listing token for the User
none
token details
none
Show Certificates displaying blank page
none
TPS debug log messages when show certificates is clicked. none

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.