Adding two certificates in the attribute userCertificate

Hi,
The attribute userCertificate (object class StrongAuthentication) is a binary attribute. I know how to store one certificate in this attribute. But, when one is already stored in, how can I store a second one in this attribute? I checked in the schema, the attribute userCertificate is not a single-value.
Thanks for help

add multivalued certificates sample:
BasicAttribute attr = new BasicAttribute("userCertificate;binary");
attr.add(cert);
BasicAttribute attr2 = new BasicAttribute("userCertificate;binary");
attr2.add(cert2);
ModificationItem[] mods = new ModificationItem[2];
mods[0] = new ModificationItem(DirContext.ADD_ATTRIBUTE , attr);
mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE , attr2);
dircontext.modifyAttributes(DN, mods);
Vincent

Similar Messages

  • ADDED TWO FIELDS IN THE me49 OUTPUT

    HI i have added the two fields for field cat for the ME49 output
    could please tell me how to update those fields with the values.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_interface_check       = ' '                       "n1068548
            i_callback_program      = l_repid
            is_layout               = ls_layout
            i_grid_title            = l_grid_title
            i_grid_settings         = l_grid_settings
            it_fieldcat             = lt_fieldcat
            i_default               = 'X'
            i_save                  = 'A'
            is_variant              = ls_variant
            it_events               = lt_events
          IMPORTING
            e_exit_caused_by_caller = l_exit_caused_by_caller
            es_exit_caused_by_user  = ls_exit_caused_by_user
          TABLES
            t_outtab                = <outtab>
          EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    <outtab> am not able to update those values into this table.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_interface_check       = ' '                       "n1068548
            i_callback_program      = l_repid
            is_layout               = ls_layout
            i_grid_title            = l_grid_title
            i_grid_settings         = l_grid_settings
            it_fieldcat             = lt_fieldcat
            i_default               = 'X'
            i_save                  = 'A'
            is_variant              = ls_variant
            it_events               = lt_events
          IMPORTING
            e_exit_caused_by_caller = l_exit_caused_by_caller
            es_exit_caused_by_user  = ls_exit_caused_by_user
          TABLES
            t_outtab                = <outtab>
          EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
    hi i copied ME49 report two add two fields in the output, fields are added in the field catalogue but please tell me how to get the data into output, <removed by moderator>.Am not able to update the data into output.
    Edited by: Thomas Zloch on Oct 23, 2011 8:44 PM

  • Currency adding two decimals all the time

    I am entering amounts in a new spread sheet for my budget but when I change the cell to a currency format it enters the amount with two decimal points. Example I'll enter 34.68 change the cell to currency and it changes the cell amount to $3,468.00. I try to take off the two decimal points but it still keeps it as thousands not dollars. What am I doing wrong to change this to normal currency.
    Thanks

    safari rss wrote:
    This is constant behavior in Numbers, as well as Microsoft Office Excel.
    It's so constant than I never got it since the first delivery of Numbers.
    Here I'm using the French format 1 234,56 so 34.56 is seen as a string and can't be defined as a currency value.
    I tested with the Setting from Belgium which is 1.234,56 and 34.56 is also seen as a string and can't be defined as a currency value.
    I tested with the US format 1,234.56 and correctly got $34.56.
    May you tell which is the region setting applied on your system (in the International Preferences pane, sheet Formats) ?
    Yvan KOENIG (from FRANCE dimanche 8 mars 2009 18:40:07)

  • Adding two cells using the Offset function

    Hi There, I would like to use the Offset function to add the value of the cell just to the left of the current cell to the one dirrectly above the current cell. I would also like to do this without using an absolute referance for the base cell
    For example the normal SUM formula would be =SUM(A2+B1) with the base cell being B2
    Hope that's clear enough, thanks in advance
    Ali

    Ali,
    Before answering your question, I'll comment that adding the value to the left to the value just above, with cell B2 being where the result would be displayed would normally be programmed as:
    =A2 + B1
    The use of the SUM function is completely unnecessary. It won't hurt, but there is no reason to use SUM.
    Using OFFSET, you would write:
    =OFFSET(B2, 0, -1) + OFFSET(B2, -1, 0)
    In this case, B2 is a relative reference, not an absolute reference.
    Jerry

  • Multiple Certificates for the same WLS

    Hi,
    IHAC who asks the following:
    Background
    Bigshop Limited carried out a soft launch of our e-tailing website under
    the
    url fonzie.bigshop.com.au
    We have a verisign certificate setup up for 128 bit ssl under the
    knownname
    fonzie.bigshop.com.au
    All ssl connections that connect to the site with this url are able to
    establish an SSL session.
    Current Issue
    Bigshop is now in the process of carrying out the public launch of the
    website. The public url for the website will be www.bigshop.com.au
    We have generated new public/private key pair and a Certificate Signing
    Request (CSR) and have ordered a new certificate from verisign
    Could you please advise if it is possible to operate two certificates
    for
    the one server. This will allow our www.bigshop.com.au and
    fonzie.bigshop.com.au url's to operate concurrently and enable both to
    establish SSL session with valid certificates.
    Is what they want to do possible ?? any suggestions
    appreciated,
    regards,
         Patrick.

    Did you ever figure out how to use multiple certificates to the sameserver? I have a need to do this also. Thanks a lot.
    In current versions of weblogic (5.1,6.x,7.0,8.1), you can configure only
    one certificate per server.
    -utpal

  • HT1423 I am adding more memory, should I replace the top two slots with the 4g memory modules, then place 2g memory modules on bottom slots. Does it even matter?

    I am adding more memory, should I replace the top two slots with the 4g memory modules, then place 2g memory modules on bottom slots. Does it even matter?

    I am adding more memory, should I replace the top two slots with the 4g memory modules, then place 2g memory modules on bottom slots. Does it even matter?

  • WCF :Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property

    Hi All,
    Currently I am working in a WCF project here when I try to send data from WCF Project 1 to WCF project 2 I am getting the below error.
    The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:subscriber. The InnerException message was 'The use of type 'Integra.Business.ICC.ObjectChangeTracker'
    as a get-only collection is not supported with NetDataContractSerializer.  Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property.'.  Please see InnerException
    for more details.
    I don't understand what issue this is since I am new to WCF. Please help me on this thanks in advance.

    You've posted to a forum for Microsoft Project - a project management program.  Please re-post your question to the WCF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Sorry - I cannot seem to move your post for you.
    Julie

  • Navigation Attribut is not shown in two rows in the Query

    Hello,
    we are using a multiprovider with the infoobject 0material. In the multiprovider we use a navigation attribut MH_PR_ST of 0material.
    Normally, the query rows should show the material number and the corresponding attribut MH_PR_ST, but in some materials in the multiprovider exist some rows where the attribute is shown correctly from the master data table and in some rows the attribute is not shown.
    Therefore in the query two rows are shown:
    Material No. MH_PR_ST Key Figure
    4711           A                    10
    4711           #                       5
    Sum                                  15
    With all other navigation attributs there is only 1 row.
    Do you have any good ideas?
    Thank you very much + best regards,
    Ilona

    Hi,
    Assuming the second row comes from one of your basic cube; since it looks that 0MATERIAL is populated (it is coorectly identified), ensure that the identification of the nav 0MATERIAL__MH_PR_ST is done properly in your multiprovider.
    hope this helps...
    Olivier.

  • HT5012 Can I install two root certificates with the same name in iPad?

    Can I install two root certificates with the same name in iPad?

    Antaeus00 wrote:
    I tried sending a request for help,
    But did you succeeed in sending a request for help?
    Did you receive a response? How long has it been since you sent a request?
    but I need someone with more authority to talk to.
    There is no one with more authority than iTunes store support. We herem are only users.

  • Can not see the attributes of the dimension added in an existing structure

    I have to add a formula on the attributes of a dimension that i included in anexisting structure.  But when i try to create the formula it does not show the attributes or that dimension.  Early help would be appreciated.
    Thanks in Advance
    Murali

    Hi Manish
    Yes this is a display attr.  if i change it to Nav attri. will this not effect business as this is being used.
    Thanks
    Murali

  • Keychain Access: Adding multiple Certificates, signed by the same CA

    Hello, Community.
    I have recently posted my request for help in this thread:
    http://discussions.apple.com/thread.jspa?messageID=10448884
    Now, I am facing a new problem: I wish to add a new Certificate to the Keychain, but whenever I try, it tells me the item exists, and does not add it to the Keychain. It adds the keys perfectly fine, both public and private, but not the Certificate.
    What can I do to have multiple Certificates, signed by the same CA.
    I cannot add them to my Keychain, so that will be of no help. And I have tried to create every Certificate anew in the same Keychain, but this will not work, either. I created they Certificates and exported them before I went on to the next and they are now on my desktop. This is very inconvenient, as the keychain is distributed over a network as a shared Keychain and resides in a Snow Leopard Server (Domestic version, not Snow Leopard Server). Our business is one day behind, but since it is now weekend, I hope to get this issue resolved by Monday morning, send out the e-mails we should have and update our register with sales.
    Could I please have some advice?
    Also, if this topic is handled in full in another thread, please post the links, so I can read up on this topic and try to find a solution.
    Thank you for your time.
    Kashidom Nenakh
    Mantha Designs incorporated
    http://www.manthadesigns.net
    [email protected]

    http://www.isi.edu/~brian/security/kerberos.html

  • Import a certificate in UserSMimeCertificate attribute

    Hello,
    Exchange 2007 SP3 + Windows 2008 SP2 => Only Powershell V2
    I would like to import certificates in UserSMimeCertificate attribute of all my users. Normally all my users should have a certificate already imported in UserCertificate attribute in Active Directory. Any suggestion how to do it?
    Is it possible to copy the content of the UserCertificate attribute in UserSMimeCertificate attribute with Set-QADObject or anything else ?
    Thanks

    I don't believe you can do this - last I checked, you can assign certificates using GPOs, but PowerShell can't do this.  I believe that even if you assign using GPOs, the end-user credentials are needed to pull the certificate from the Cert Server
    (even though it will happen in the background when the user logs on).

  • Two Buttons on the Interactive Form

    Hi Gurus,
              I need to have two buttons on the form which perform different actions So I  need to identify the button clicked in the OnSubmit event.
                I  have two buttons on the form "Submit" and "BACK". So I added the two submit buttons on the form, both are working as OnSubmit event is getting triggered by both the buttons.
    From some previous posts, I read that I've to add a attribute to context and set the attribute value in the form when the button is clicked. So added a field binding that to context attribute.But , When I write below code , the submit button does not work.
    xfa.form.Page1.Subform.Buttonclicked.rawValue = "BACK";
    Where Page1 is page , Subform is subform Buttonclicked is my attribute in context/field on the form for attribute
    I  tried adding this code before and after the submit events code that is,
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    Am I adding the code in correct place? Is the code correct to set the attribute/field value?
    Can anybody help me resolving this issue?
    Thanks in advance!
    Regards,
    Kuldeep Jadhav

    This issue has been discussed here before. Please go through my replies here --> Dropdown List Scripting to display another Drop down List.
    Chintan

  • Adding alias certificate to ACE

    We are having issues with SSL checks done by the online tools to check the websites SSL certificates.
    For example www.abc.com and just abc.com.
    We have configured certificate only for www.abc.com under the VIP but currently we dont have certificate for abc.com.       
    My query is how do i call both certificates under the same ssl-proxy service? I cant test this on live environment so want to know if it accepts two commands for adding certificates under ssl-proxy service.

    Hi Janardhan,
    I don't think so. You would need to get the wildcard certificate which would be like *.abc.com and that should resolve the problem you are facing. CN=*.abc.com should be there in the certificate you generate or request from your CA. If you want to have www.abc.com as well as www.abc.net then in that case you would need to have SANS certificates.
    Regards,
    Kanwal

  • Can'n see the attributes in InfoCube

    hi, all,
    I loaded the master data and texts of the InfoObject 0PM_ORDER and I can see them in administrator work bench. I also loaded transactional data in the InfoCube 0PM_C01. But, when displa the data in the InfoCube, all the fields of the attributes to 0PM_ORDER are empty.
    I also enhanced the structure of the InfoCube, icluding two characteristics (0EQUIPMENT and 0FUNCT_LOC). They both are nav. attributes to 0PM_ORDER. So I maintened the update rules - the two new char have to be filled by the attrubutes of 0PM_ORDER. But, it doesn't work.
    Has any one any idea?
    thanks in advance
    best regards
    neven

    hi Neven,
    this is common things that we forget to do ...
    you can schedule this in background job - daily (after all master data loaded) - from the same menu.
    or if you use process chain, you can include the process after all master data uploaded.
    hope this helps.

Maybe you are looking for