Bug 501342

Summary: RE_ENROLL does not reset after a re-enrollment is done.
Product: [Retired] Dogtag Certificate System Reporter: Sean Veale <sean.veale>
Component: TPSAssignee: Christina Fu <cfu>
Status: CLOSED NOTABUG QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: low    
Version: unspecifiedCC: alee, benl, jmagne, tao
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: 2010-01-15 17:22:02 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: 445047    

Description Sean Veale 2009-05-18 16:09:46 UTC
Description of problem:

IF the RE_ENROLL flag was original set to NO and then an TPS Agent set the flag to YES after one enrollment the flag should reset back to NO. This is not happening for RE_ENROLL.  

Works correctly for PIN_RESET


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

CS 8.0 Beta 2

How reproducible:
Always

Steps to Reproduce:
1.Set the default Renroll and Pin reset flags to NO in the tps CS.cfg files
2.Enroll a token. Have a TPS agent change the RE_ENROLL flag from No to YES.
3.Re-enroll the token.  That works. 
4. Check the Flag status and notice RE_ENROLL is not reset back to NO
  
Actual results:
Can re-enroll as many times as you want to

Expected results:
Can only re-enroll once

Additional info:

Pin reset works fine

Comment 1 Christina Fu 2009-05-19 15:55:07 UTC
just for the record:

The behaviour is as expected by design.  This is a policy that allows
the agent to set for the token whether re-enrollment is allowed or not.
There is no implication in the design to allow this re-enollment to take
place only once.
Although I could see the use for it.