Hi all,

Currently the req form asks for first and last name. I thought I would 
throw in fields that also ask for middle initial and suffix (jr, sr, ii, 
iii, etc). I then modified the XML that builds the CN appropriately.

         <input>
           <name>cn</name>
           <label>Subject Name</label>
           <type>textfield</type>
           <charset>UTF8_LETTERS</charset>
           <value>$ADDITIONAL_ATTRIBUTE_FIRSTNAME 
$ADDITIONAL_ATTRIBUTE_MIDDLEINITIAL $ADDITIONAL_ATTRIBUTE_LASTNAME 
$ADDITIONAL_ATTRIBUTE_SUFFIX</value>
           <minlen>3</minlen>
           <required>YES</required>
         </input>

However, when a person does  not have a middle initial or a suffix then 
the CN either gets an extra space in the middle or a trailing "/" at the 
end. Is there a way to eliminate these extra things? Is there a way to 
conditionally build the CN? Or should I just revert back to the default 
form?

Dave 


This is an e-mail from General Dynamics Land Systems. It is for the intended 
recipient only and may contain confidential and privileged information.  No one 
else may read, print, store, copy, forward or act in reliance on it or its 
attachments.  If you are not the intended recipient, please return this message 
to the sender and delete the message and any attachments from your computer. 
Your cooperation is appreciated.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to