How can i add an custom attribute and assign it to an existing custom object class in sun ds

I need to add an attribute to sun ds schema and assign it to an existing custom object class.
I know how to add an attribute but how can i add the attribute to an existing custom object class.
Please help.
Thanks

The objectclasses attribute is multi-valued, so you can add several values to it as long as they are unique.
For instance, I think you can add several declaration of the same objectclass as below (note the difference is the number of spaces in the value) howewer, from a schema perspective, only 1 will be taken into account:
objectclasses: ( 2.5.6.6 NAME 'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256' )
objectclasses: ( 2.5.6.6 NAME   'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256    ' )
That's the reason why it is safe to delete previous value if you want to update an existing objectclass. No problem to add a new objectclass (new oid and new name) to the schema.
-Sylvain

Similar Messages

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

  • If I know a name of class , how can I get it's attribute and methods

    If I know a name of class , how can I get it's attribute and methods as well as it's detail information by ABAP code ?
    Best regards ,

    HI, Chandra ,
    Thank you very much , I can get the result
    Best regards,
    DATA lo_class TYPE REF TO cl_oo_class.
    DATA lt_attribs TYPE seo_attributes.
    FIELD-SYMBOLS: <attrib> TYPE vseoattrib.
    TRY.
        CREATE OBJECT lo_class
          EXPORTING
            clsname = 'CLASS_NAME'.
      CATCH cx_class_not_existent .
    ENDTRY.
    lt_attribs = lo_class->get_attributes( ).
    BREAK-POINT.

  • HT5312 I've forgot security question and answer, how can I add rescue mail address and how can I reset my security question and answer?

    I've forgot security question and answer, how can I add rescue mail address and how can I reset my security question and answer?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105466)

  • How can I add a Save form button ( not save as ) for a custom fillable form ?

    How can I add a Save button ( not save as ) for a custom fillable form ?
    idea is ti to have a Save button  at the bottom of each page where the person filling
    the form  clicks the save button  on each page.( it is a 12 page fillable form )
    The only thing I was able to do  was add a button that  opens a Save As
    dialog box only.
    My experience  lever is - end user-intermediate.
    Thnaks.

    Thanks for the response.
    I wonder why  it wont allow.
    If I can  save ( as opposed to save as)   this form by clicking the  save icon on the  menu bar, I am not sure why it is no possible to do so on page level!
    Custom script option is not  even remotely possible!

  • How can i add songs to a family members ipod without erasing existing songs

    How can i add songs to a family members ipod without erasing her existing song list.

    For future reference, since I came here for the same reason, I'd like to add to the solution.  The link was not complete in explaining how to, but then again I'll just trying to attempt to fill in the gap.
    After opening iTunes, on the upper left hand side is a small icon with an arrow pointing down. Click on the arrow and a menu pops out.  Click on "Show Menu Bar."  On the new bar(Older iTunes File, Edit, View, Controls, etc. bar at the top).  Click on View and then Show Side Bar.  There you can just click and drag new songs into your iDevice without any problems... hopefully...
    Seriously, this helped me, so if Apple finds a way to not allow me to do this simple task of adding purchased songs into my idevices from another computer, I'll have to resort to other means.
    The one idevice that's having trouble with is my iShuffle(2nd). 

  • How can I add a log in and password protected page on my website

    I would like to add a "register now" and login page to my website.  Can anyone help with a SIMPLE solution?  I've tried to follow the 'secure area' info on BC but not having any success.
    I would like to have a 'register/login' button in order for visitors to get to a secure page. How can I make it happen on Muse?
    THANK YOU!!

    Hi
    You may want to refer to discussion here : Adding a Secure Zone to my Muse site
    As mentioned, you need to create a secure zone in your Business catalyst site and have a landing page set there only. This cannot be managed from Muse only. 
    For more details on how to create secure zones and achieve this, you may want to refer to some useful article as mentioned below:
    Business Catalyst Help | Add a secure area to your site
    http://www.bcgurus.com/tutorials/using-bc-secure-zones-with-adobe-muse
    I hope this helps.

  • How can i "add file to library" and have it be considered to be a Podcast?

    I went to a web site and downloaded a file to my C drive (MP3 format) that is not music. It is spoken, and is what i would call a 'Podcast', although i did not access it via iTunes as an official podcast. I then use iTunes "add file to library" function. But, it considers it to be music. I thought maybe drag/drop would work to let me add it to Podcasts, but it does not.
    How can i get this file which i have imported into iTunes to be treated as a Podcast? First, i'd like it to appear on my iPod with 'Podcasts'. But, more importantly, if i stop listening in the middle, i'd like it to restart from that point the next time i start it again. Now, it is treated by the iPod like music, and so it starts at the beginning each time.
    Thanks for your help! Tom.
      Windows XP  

    Is there a way that you can "subscribe" to something that is not in iTunes store? This is just a file on a site that is available for download.
    If not -- does anybody else know if there is a way to do what the original question posed, to have a file that you downloaded, treated as a Podcast instead of as music?
    Thanks, tom.
    Windows XP

  • How can I add a new attribute (characteristic) in intrastat

    Hi all,
    my friends from Autria have a problem with their intrastat message and that makes it my problem. Austrian statistic wants to know the amount of goods imported, not only the value. I tried to add an attribute using transaction VEB1, but there is no attribute in the list that gives me the amount. Does anyone know how to handle that?
    Christian

    Hi Napadol,
    To add a attribute in a char:
    1) Go to info object/char in change mode and add the additional attribute you want and select navigational attribute in attribute tab if you want. (Create these additional attribute first in info object catalouge)
    2) Activate the Object/Char
    3) open info cube in change mode and pick the characteristic from left panel to info cube dimension.
    4) Activate infocube.
    5) Go to multi provider add the char in one of the dimension and do identification for this char and activate.
    Regards,
    Kams

  • I have completed a iphoto book, but the back cover and flap have vanished. How can I add a back cover and flap.

    My girlfriend has completed a iphoto book using my Mac. She completed it and sent it off for printing, but we received an email from Apple advising that clipped text had been found in the order.
    We looked at the book again and noticed that there did not seem to be a back cover and flap to the book, the last page had been duplicated and one of the photo's had gone across some of the text. ( the front cover and flap were there.)
    We have attempted to add a page, looked the the layout options etc, but there is no option to add a back cover and flap.
    Please can you advise how we can add a back cover.
    Regards

    Try cohnfamilly's solution posted in this topic: Cover Page Disappeared: Apple Support Communities
    OT

  • On sites with forums how can I add type in bold and/or italics?

    When posting on a websites forum how can I post words in bold or italics.

    Depends upon the forum. Here you have the '''B''' and '''''i''''' buttons in the Post a Reply area. Other forum software may allow HTML or BBCode.
    https://addons.mozilla.org/en-US/firefox/addon/bbcomposer/?src=search <br />
    https://addons.mozilla.org/en-US/firefox/addon/text-formatting-toolbar/?src=search <br />
    https://addons.mozilla.org/en-US/firefox/addon/bbcodextra/?src=search

  • How can i add bizarre corners in and InDesign shape

    Hi guys,
    I am doing a poster with two images. One is the main color photo and the other is a rounded image to write text on it.
    Here is the idea
    http://www.pixentral.com/show.php?picture=17QyMumlIqTfBYafmsKejFuF0SOKp
    How can i trim the image with this bizarre corners shape? so the both will fit right.
    Thanks for any help ;-)
    Sebs
    Mensaje editado por: Sebastian Villalonga

    You're right that is bizarre, but that's besides the point ;-) You could approach this a couple of different ways. I would suggest drawing a square filled with paper. Then draw a circle on top of the square with the same width and height. Select both the circle and the square, and choose Window > Object and Layout > Pathfinder. Click the subtract button. Then with the object still selected, choose Object > Paths > Release Compound Path and remove the corners that you don't need. Now just position the shape where you want it to appear.

  • In iOS 8, how can I share my photo stream AND assign different names to each of our devices in Find My Friends?

    I'm using the iPhone 5c, and iPad mini, and my wife has a 5c, too.  We used to use my iCloud account as the main account on everything, so we could share our photos as we took them.  But now in iOS 8, Find My Friends is moved to iCloud.  I can't add my wife to Find My Friends, because it lists me on all of the devices.  How can I go back to taking a photo and it showing up on her device while allowing us to find each other?

    I chatted with Apple tech support.  They said [add rolling eyes here] that this is easily solved with the new Family Sharing feature.  In other words, I sign in on my phone, my wife signs in on hers, and we share our photos in the Family folder.  Of course, no photos are automatically shared in the Family folder.  It's just a shared folder, something anybody could have created in iOS 7.  I would still have to drag all of my photos and my wife would have to drag all of her photos to the folder in order to share them.  Also, I notice that app updates on her phone are strangely being downloaded under her account, so when we make a change, it says the downloaded app will have to be deleted, because it was not downloaded through my account.  This Family Sharing thing is a joke.  I told the tech support lady that this didn't feel like much of a "feature" at all.  She suggested that I provide feedback if I didn't like it, which I did.
    So there is no way to do what I'm wanting to do under iOS 8 at the moment.  I love Apple products, but wow, iCloud is a disaster at the moment.  Just look at all of the people who upgraded to iOS 8 and upgraded to iCloud Drive without understanding the implications.  Now they're getting an error message that they need to download Yosemite in order to access their documents, even though Yosemite isn't available to the public yet.  Not well planned.  In the meantime, we just don't share our photos in exchange for finding each other for lunch. 

  • How can I add the extra fields to a datasource usign "User Exist"?

    Hallo guys,
    I have a quesiton on an extractor.
    I want to extend fields for an extractor, and the additional fields come from a third table (for the extractor, there is a view which 2 Tabels inner join.) The third table should have LEFT OUTER JOIN relation to the other 2 tables. So I have to use "User Exist" to add the fields from the third table to my data source.
    How  can I do it via user exist?
    Thanks for any hint in advance.
    Regards,
    Liying

    Hi LiYing,
    You can do this using a USER EXIT.
    if you edit the ABAP program ZXRSAU01, you can add ABAP coding:
    here an example for 1_CO_PA....:
    <i>   CASE i_datasource.
           WHEN '1_CO_PA_.......
    Data assignments
          LOOP AT c_t_data INTO wa_s_copa.
            IF ( NOT wa_s_copa-vrgar = 'F' ) OR ( wa_s_copa-curtype = 'B0' ).
            wa_s_copa-zzratio = 1.
            wa_s_copa-zztr_rate = 1.
            wa_s_copa-zzcurkey_tc = wa_s_copa-rec_waers.
    Company Code Currency Invoice *
          ELSEIF wa_s_copa-curtype = '10'.
    assume one exchange rate per invoice
            SELECT SINGLE * FROM ce19991 INTO wa_ce1
               WHERE belnr = wa_s_copa-belnr
               AND   paledger = '02'
               AND   vrgar    = wa_s_copa-vrgar
               AND   versi    = space
               AND   perio    = wa_s_copa-perio.
            MOVE wa_ce1-kursf TO lx_kursf.
            MOVE wa_ce1-frwae TO wa_s_copa-zzcurkey_tc.
            IF NOT wa_ce1-frwae EQ 'EUR'.
    read rate ( table is buffered ).
              CLEAR: wa_tfact, wa_ffact.
              lx-datlo = 99999999 - sy-datlo.
              SELECT single tfact ffact FROM tcurf into
              (wa_tfact, wa_ffact)
              WHERE kurst EQ 'M'
              AND fcurr EQ wa_ce1-frwae
              AND tcurr EQ 'EUR'
              AND gdatu LE lx-datlo.
              IF sy-subrc NE 0.
                SELECT single tfact ffact FROM tcurf into
                (wa_tfact, wa_ffact)
                WHERE kurst EQ 'EURX'
                AND fcurr EQ wa_ce1-frwae
                AND tcurr EQ 'EUR'
                AND gdatu LE lx-datlo.
              ENDIF.
              IF wa_tfact = 1.
                wa_s_copa-zzratio = wa_ffact.
              ELSE.
                IF wa_tfact NE 0.
                  wa_s_copa-zzratio = 1 / wa_tfact.
                ENDIF.
              ENDIF.
            ELSE.
    eur : eur => always 1
              wa_s_copa-zzratio = 1.
            ENDIF.
            IF lx_kursf < 0.
              wa_s_copa-zztr_rate = lx_kursf * -1 .
            ELSE.
              CHECK lx_kursf > 0.
              wa_s_copa-zztr_rate = 1 / lx_kursf.
            ENDIF.
          ENDIF.
      ENDLOOP.
    ENDCASE.
    </i>

  • How can you add your own print and export buttons to the CR viewer toolbar?

    I posted a previous question that was asking how to get around the Information Bar in IE7 when you export and print.  Unfortunately the CR viewer file download code gets blocked by IE7 because the buttons don't directly download the file.  However, I have been able to get a regular button that calls the following code and streams the file to the client and IE7 does not block it. 
    Sub PrintPDF(sender As Object, e As System.EventArgs)
         Dim crReportDocument as ReportDocument
         Dim crExportOptions as ExportOptions
         Dim crDiskFileDestinationOptions as DiskFileDestinationOptions
         Dim Fname as string
         CrReportDocument = New ReportDocument()
         CrReportDocument.Load(Server.MapPath("estactionlist.rpt"))
         Fname = Server.MapPath("./") & Session.SessionID.ToString & ".pdf"
         CrDiskFileDestinationOptions = New DiskFileDestinationOptions()
         CrDiskFileDestinationOptions.DiskFileName = FName
         CrExportOptions = crReportDocument.ExportOptions
         With crExportOptions
              .DestinationOptions = CrDiskFileDestinationOptions
              .ExportDestinationType = ExportDestinationType.DiskFile
              .ExportFormatType = ExportFormatType.PortableDocFormat
         End With
         CrReportDocument.Export()
         Response.ClearContent()
         Response.ClearHeaders()
                    Response.AddHeader("content-disposition", "attachment;filename=test.pdf")
                    Response.ContentType = "application/pdf"
                    Response.Charset = ""
                    Response.WriteFile(Fname)
                    Response.Flush()
         Response.Close()
         System.IO.File.Delete(Fname)
    End Sub
    So here are my questions?
    1. Is it possible to add a custom print control/icon to the CR viewer toolbar?
    2. If one is not possible, then is it possible to override the CR viewer print and export buttons with your own subroutines like the one above?
    I just want my page to look nice and hate to have print and export buttons outside of my CR viewer. 
    Thanks,
    Kevin

    It might be possible to replace the buttons in a windows app since you can retrieve the toolbar as a toolbar object in the winform viewer  ( ToolStrip toolBar = (ToolStrip) crystalReportViewer1.Controls[3]; )  however with a web app, it's a lot more difficult.
    The problem is that that you need to parse the Request string to try and figure out if the print / export button was clicked.  The code below makes the print button disappear if you click it, so you should be able to modify it to call your custom printing / exporting code instead  (You have to do this check in a postback)
            Dim I As Integer = 0
            If Request.Form.AllKeys.Length > 0 Then
                For I = 0 To Request.Form.AllKeys.Length - 1
                    Response.Write(Request.Form.Keys(I).ToString & "<BR>")
                    If Request.Form.Keys(I).ToString = "CrystalReportViewer2:_ctl2:_ctl2.x" Then
                        CrystalReportViewer2.HasPrintButton = False
                    End If
                Next
           End If
    Shawn

Maybe you are looking for