How can I add an admin user in Oracle Unified Directory (OUD) 11g r2?

I'm using OUD 11G R2. I just installed OUD with the default setting and setup an instance.  I tried to add an admin user with the command:
    ./ldapmodify -h localhost -p 1389 -D "cn=Directory Manager" -w password --defaultAdd --filename admin.ldif
Here is the content of admin.ldif
    dn: cn=oimuser,cn=Root DNs,cn=config
    objectClass: inetOrgPerson
    objectClass: person
    objectClass: top
    objectClass: ds-cfg-root-dn-user
    objectClass: organizationalPerson
    userPassword: Oracle123
    cn: oimuser
    sn: oimuser
    ds-cfg-alternate-bind-dn: cn=oimuser
    givenName: OIM User
    ds-privilege-name: -config-read
    ds-privilege-name: -config-write
    ds-privilege-name: -backend-backup
    ds-privilege-name: -backend-restore
    ds-privilege-name: -data-sync
    ds-privilege-name: -disconnect-client
    ds-privilege-name: -jmx-notify
    ds-privilege-name: -jmx-read
    ds-privilege-name: -jmx-write
    ds-privilege-name: -ldif-export
    ds-privilege-name: -ldif-import
    ds-privilege-name: -modify-acl
    ds-privilege-name: -privilege-change
    ds-privilege-name: -proxied-auth
    ds-privilege-name: -server-restart
    ds-privilege-name: -server-shutdown
    ds-privilege-name: -update-schema
    ds-privilege-name: -cancel-request
I got the error as below:
The provided entry cn=oimuser,cn=Root DNs,cn=config cannot be added because its suffix is not registered with the network group network-group
Would you please advise how I can fix that? Thanks

I got the reason. cn=config is an administrative suffix.
In general, direct LDAP access to the administrative suffixes (using
the ldap* utilities) is discouraged. In most cases, it is preferable
to use the dedicated administrative command-line utilities to access
these suffixes.
If you must use the ldap* commands to access the administrative
suffixes, you must use the administration connector port (with the
--useSSL or -Z option).
It works when I use the command:
    ./ldapmodify -h localhost -p 4444 -D "cn=Directory Manager" -w Oracle123 --defaultAdd -Z --filename admin.ldif
You can verify it by:
    ./ldapsearch -h localhost -p 4444 -D "cn=Directory Manager" -w password --useSSL -b "cn=root DNs,cn=config" "cn=oimuser"

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

  • How to create a new admin user in oracle 9i?.

    Hi I am new to oracle. I want to set up a new database for my application.
    How to create a new admin user in oracle 9i?. I would like to have a new schema. where I can create tables for my application from scratch.

    If I understand your question correctly:
    You need to be connected to the database with the user SYS.
    open a command-line session and do the following to create an Oracle user with DBA option other than SYS.
    C:\>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 08:46:13 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> conn  /  as sysdba
    Connected.
    SQL>
    SQL> create user test identified by pass;
    User created.
    SQL> grant create session to test;
    Grant succeeded.
    SQL> alter user test account unlock;
    User altered.
    SQL> grant dba to test with admin option;
    Grant succeeded.
    SQL> conn test/pass
    Connected.
    SQL>
    SQL> sho user
    USER is "TEST"
    SQL>Now you have a user with username 'test' and password 'pass' with DBA role with Admin option
    Tony Garabedian
    From now on you can connect directly with SQL*Plus no need for comman-line. Just provide the username/password and you're logged in.
    Message was edited by:
    Tony Garabedian

  • How can i add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating ?

    when a new personal site is created on the sharepoint online 2013, then the administrator of this personal site will be himself. we can add another person to the "site collection administrators", then this person have full control of this personal
    site.
    but my request is : add this personal to the personal site when the personal site is creating, but not after the personal site has created ?
    Is anybody know how to do that?

    Hi,
    According to your post, my understanding is that you want to add a special user to the "site collection administrators" of the personal site on sharepoint online when the personal site is creating.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    This is a forum which is supported for SharePoint On-Premise.
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How can I add a new user to my managed account?

    *There is an existing skype user.  i.e She already has a skype account
    *I have a Skype Manager account and want to provide her with SkypeCredit
    *I am having trouble doing that.  It seems that I can add a new member to my group only if they are a new user (i.e. they get a new skype address). Then I seem to have learned that this might not be possible if I or they (?) are in the US.
    Will someone clarify this?
    Skype support tells me that: 
    "Reymark C: I am afraid adding members in somewhere in US is no longer available."
    Is this somewhere on the help pages that I missed.  Being logged-in, skype knows where I am (or where I list my home as).  Why did it let me waste so much time struggling with this?
    Also, why is there this restriction?
    ...after much other talk.....
    L JEPSON: Question: Can I add skype credit to another person's account?
    Reymark C: That;s only possible once he is already added to your manage account.
    L JEPSON: You said I cannot add members in the US.
    Reymark C: Those are only possible outside US.
    L JEPSON: So I can not add anyone to my manager account, b/c I am in the US, correct?
    Aside, why can't the skype support use skype-screenshare?  I wanted to show what I saw.  Instead, we had me sign some online contract, gave control of my computer to the support person.  Spent a fair amount of time doing this.   Enable your users to use skype to see our screens, please, Microsoft.  You can still record the conversation and record the screenshare, can't you?

    Team license links that may help
    -manage your team account http://forums.adobe.com/thread/1460939?tstart=0
    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0

  • How can i share my admin user contacts with other users

    I have sat in front of my computer for 2 days now and still cant work our how to share my contact book with other users on the same macbook air, can anyone help?

    I have just found out for myself finally, I added my icloud account to his emails and just unticked the mail option and the contacts appeared as if by magic.
    Hopefully if anyone else has this problem they will see this answer

  • How can you add an extra user agent value for Safari?

    I need to configure Safari to contain an additional User Agent string. This is an IE sample of what I need Safari to add:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; THISIS_ATEST; .NET CLR 1.1.4322)
    I know you can add the Debug menu and change the User Agent but this does not permit you to add an additional string as in the sample above.
    Thank you for your help in advanced.
    Sandra

    Welcome to Apple Discussions
    Not having programming skill, I can't help you with the specifics of your question. However, you may find help here.
    iMac G5 Rev C 20" 2.5gb RAM 250 gb HD/iBook G4 1.33 ghz 1.5gb RAM 40 gb HD   Mac OS X (10.4.8)   LaCie 160gb d2 HD Canon i960 printer, Airport Express (2 units)

  • How can I add a second authorized user to my installation of Adobe Digital Editions?

    I have initially installed with one user.  I have purchased a digital book using my credit card and id from Barnes & Noble.  I can't open the content without proper ADE authorization.  How can I add another user authorization to ADE?

    Paul, if you used one ID to install ADE, you cannot download an ebook from
    a site into ADE if you used a different ID.  That's the way the Digital
    Millenium Copyright Act of 2000 was implemented to prevent unauthorized
    copying of ematerials.  ADE tells you that in its HELP section.  You can't
    add a second ID to ADE either, for the same reason.
    What you CAN do is to change users, and authorize ADE with the same ID you
    used when you downloaded the ebook.  You do this by bringing ADE up, then
    using the CNTLSHIFTD key combination, you will deauthorize ADE.  Close
    ADE and reopen it, and ADE should ask you to authorize it.  At this point,
    you can enter the second ID, and ADE will take off from there.  BUT, keep
    in mind that any other ebooks you downloaded into ADE with the first ID
    will not be accessible until you go through the same process again and
    revert to the first ID.
    Hope this helps!
    =============

  • 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 i add an administrator access so the admin can edit his webpage on the web browser?

    How can i add an administrator access so the admin can edit his webpage on the web browser?

    A content management system or CMS is software usually on the server that allows client's to log-in and edit content from any web browser with an internet connection.  These web pages are typically built with server-side programming (PHP) and databases (MySql). 
    CMSs come big and small.  The right one for your project depends on
         a) your programming skills,
         b) project requirements,
         c) budget.
    COMMERCIAL CMSs:
    Cushy CMS (watch the video to see how it works)
    No PHP or databases required.  Editing is performed on their web site.
    http://www.cushycms.com
    Perch ($59 license per site)
    PHP & MySql required
    http://grabaperch.com/
    WebAssist Power CMS Builder - Extension for DW
    PHP & MySql required
    http://www.webassist.com/dreamweaver-extensions/powercms-builder/
    Adobe Business Catalyst (full subscription includes CMS & web hosting)
    http://www.businesscatalyst.com/
    OPEN SOURCE CMSs:
    Get Simple CMS
    PHP & XML required.
    http://get-simple.info/
    e107 CMS
    PHP & MySql required
    http://e107.org/
    WordPress
    PHP & MySql required
    http://wordpress.org
    Joomla!
    PHP & MySql required
    http://joomla.com
    Drupal
    PHP & MySql required
    http://drupal.com
    Concrete 5
    PHP & MySql required
    http://www.concrete5.org/
    Nancy O.

  • How can I add new user in sharepoint list column (people or group) or in sharepoint group using loginName only

    Hi
    If I have only login name of any user like - "Donamin\login_name".
    If this user is not present in sharepoint portal.
    How can I add this user to people or group column of any list or in any  sharepoint group with permission?

    hi
    got the issue
    it should be  like this -
    string userloginname = @"DOMAIN001\vyankatesh_mujumdar"
    using (SPSite oSpSite = new SPSite(site.ID))
    using (SPWeb web = site.OpenWeb())
    try
    { SPList lst = web.Lists["TestList"];
    string userloginname = @"DOMAIN001\vyankatesh_mujumdar";
    web.EnsureUser(userloginname);
    SPUser oSPUser = web.SiteUsers[userloginname];
    SPFieldUserValue FieldValueName = new SPFieldUserValue(web, oSPUser.ID, oSPUser.LoginName);
    SPListItem oSPListItem = lst.Items.Add();
    oSPListItem["Title"] = userloginname;
    oSPListItem["People"] = FieldValueName;
    oSPListItem.Update();
    catch (Exception ex)
    ExceptionManager.LogErrorInFile("--------Exception -------", bIsLogEnabled);
    ExceptionManager.LogErrorInFile(ex.Message, bIsLogEnabled);
    ExceptionManager.LogErrorInFile(ex.Source, bIsLogEnabled);
    ExceptionManager.LogErrorInFile(ex.StackTrace, bIsLogEnabled);
    ExceptionManager.LogErrorInFile("-------------------------------------------------------", bIsLogEnabled);
    Thanks for all for the reply

  • What are user parameters? and how can i add user parameter

    Hi Experts,
    what are user parameters? and how can i add user parameter and how can i add a user parameter
    HR_DISP_INFTY_NUM with value X?

    user parameters are used give reference grps and counntry grouping use SU3 tcode as amite said

  • How can i extended attribute of user and add attribute to ldap

    how can i extended attribute of user and add attribute to ldap
    1.
    i use spe to modified "Default User Library":add Field like
    title:nation name:accounts[Lighthouse].nation
    2.
    modified "IDM Schema Configuration"
    add <IDMAttributeConfiguration name='nation' description='default attribute from UserExtendedAttributes/UserUIConfig' syntax='STRING'/>
    in <IDMAttributeConfigurations>
    and
    add <IDMObjectClassAttributeConfiguration name='nation' queryable='true' summary='true'/> in<IDMObjectClassConfiguration>
    there is extended attribute when i create new user
    3.
    i create new resource to ldap,and i add nation in "Account Attributes" tab
    but the new attribute not add to ldap
    i am beginner,how to extended attirbute add add to ldap attribute?

    So, if I want to fill in blanks on a form where I need to add more pages to fill history, what program do I need? In Adobe Reader, I can edit and fill in blanks, but I cannot duplicate more blank pages.

  • How can we restrict the other user to add their user id's to the user group created in SQ03?

    Hello All,
    How can we restrict the other user to add their user id's to the user group created in SQ03?
    When we enter the user group name and click on "Assign users and Infosets" button in the attached pic "User Group" .
    I was able to enter my user id in other user groups. How to Grey out the other rows in the attached pic "User Group 1".

    How strange I answered (or at least helped) this very same question earlier today. Here the link to my previous answer then:
    http://scn.sap.com/thread/3536135

  • How can i add addtional user defiend fields in infoset

    Hi,
    Can any one tell me how can i add addtional user defiend fields in infoset and make it availible in output screen.
    Also please tell me to create parameters through abap quary sq02 , as by default it creates select-option.
    With Thanks n Regards,
    Ranu

    Hi,
    As I said before it is not that straight forward.If you will decompile tcViewProfileAction .class using any java decompiler you will find out that data in setAccountProfile method is not getting set through formmetadata.xml . If you are well verse with struts then only you can achieve what you are trying to do.You need to extend tcViewProfileAction class and also tcViewProfileForm class and then you need to modify tjspViewProfileTiles.jsp .It will not be easy job.Usually in implementation we do not change action class until its absolutely required as oracle also do not recommend that so now its between you and your client to make a call if they want to go for such customization.I won't recommend you do that.
    Regards
    Nitesh

Maybe you are looking for

  • Firefox constantly crashes on startup

    Firefox is continually crashing on me. It opens for a few seconds to tell me it can't open my tabs, and then crashes. My Mac OSX is up-to-date, and I ran a virus scan yesterday (before I started having problems with Firefox) and it found nothing. I'v

  • What's wrong with my method

    I have a method with 2 parameters: public void getFileInfo(int array_length,String user_name) int arraylength=array_length; username=user_name; downloadname_files = new String[arraylength]; displayname_files = new String[arraylength]; size_files = ne

  • Getting the Payment Terms on XLR

    Hello All, I am creating a Billing Note document using XLR. Everything is fine, except for I am unable to get the payment terms (Name) on the report. I am trying to use the Payment Terms set in the BP Master data, but this is just the code. I need th

  • IP Block List Communication Problem?

    Hi, Im trying to set up IP Block List Providers on a very simple Exchange environment consisting of two servers. Server1 = Client Access and Mailbox roles (domain joined) Server2 = Edge role (not domain joined)  I Setup my Block Lists Providers on Se

  • E-Sourcing and Contract Generation

    Hi Gurus, Can we implement E-Sourcing application only now and Contract Generation next year? Or do we have to have the initial setup from hardware perspective completed now? Thanks JS