Problem in creating new group in LDAP

Hi,
When I create a new group in the ldap, the groups is getting created with
Common name : tstCompA
javaclassname : javax.naming.directory.BasicAttributes
javaserializeddata : [Binary]
objectClass : top
Why are these attributes getting created...pls find the attached code snippet
Regards
Jeyanth
######################## Code #####################
public void create()
          String compName = "ABC"
          Hashtable env = new Hashtable();
          env.put(Context.INITIAL_CONTEXT_FACTORY, CONTEXT);
        env.put(Context.PROVIDER_URL, HOST+"/ou=companies,o=tom.com");
        env.put(Context.SECURITY_AUTHENTICATION,"simple");
          env.put(Context.SECURITY_PRINCIPAL,"uid=xyz,ou=people,o=tom.com");
          env.put(Context.SECURITY_CREDENTIALS,"wew23");
          env.put(Context.REFERRAL, "ignore");
                 try {
                      DirContext ctx2 = new InitialDirContext(env);
                      Attribute objclass = new BasicAttribute("objectclass");
                   objclass.add("top");
                   Attribute cn = new BasicAttribute("cn", compName);
                   Attributes attrs = new BasicAttributes(true); // case-ignore
                   attrs.put(objclass);
                   ctx2.bind("cn="+compName, attrs)
                   ctx2.close();
                   System.out.println("Bind Successfull 33333");
               } catch (NamingException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
               }

These attributes are created when you have the context binded to these attributes, also known as schema objects. There is a root object called top. The other objects are inheriting one after another in a successive order from the "top". Correct me if I'm wrong but I've seen similar behavior across all contexts.

Similar Messages

  • Creating a new group in LDAP using JLDAP

    Can anybody tell me how to creat a new group in LDAP using JLDAP

    Hi,
    Have a look at the following link. It will surely help you.
    <a href="http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm">http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm</a>
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • Create new group Like "sites" in Central Admin

    Hi,
    How can we create new group like sites in Central admin to create in site collection?
    While creating site collection, we have an option to to create site collection in root or under Sites. How can we add custom group"Coll" in that dropdown. so i can create site collection under my custom name "Coll"
    Ex: http://test:1234/sites/<<Name>>
    Same as instead of sites , how can we create custom name to that dropdown?
    DVGR, SharePoint Developer

    - Go to the Web Application -> Manage web applications
    - select the web application you want to create new managed path
    - click on 'Managed Paths' from the ribben
    - Add 'Coll' as a Managed path and Type : 'Wildcard inclusion' and click 'Add Path'
    - then when you go and crate a new site collection under that web application you will see 'coll' as a managed path
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......

    Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......can anyone help, please?!

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • Problem in creating new communication channel template in IR

    Hi experts,
    I currently have problems with creating new communication channel template in Integration Repository. If I choose the New-Context (Adapter Objects-->Communication Channel Template) the dialog "CREATE OBJECT" is shown. After I have inserted the Name of my template I push the create button.
    Then the following error occurs:
    STOP: Internal error: Object cannot be changed in display mode
    DETAILS: Internal error: Object cannot be changed in display mode(CANT_SET_MODIFIED).
    So can anybody help me. Thanks for your help.
    Best regards.
    Mario

    Hi Mario,
                This is genral problem appearing in PI 7.0 with SP12.
                Previously, i have the same problem.
                i.e STOP: Internal error: Object cannot be changed in display mode
    DETAILS: Internal error: Object cannot be changed in display mode(CANT_SET_MODIFIED)
                Regarding this we raise an OSS note SAP people.
                they gave the suggestion that update with SP13.
              i discuss with basis team and install the SP13.
               now the problem is solved, i can able to create the Communication Channel Template.
    Please award points, if it really help to u
    Regards
    Mahesh.

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • How do you create new groups within Contacts on the iPad?

    Can you create new groups within Contacts directly from the iPad, iPhone,or do you have to do it on the computer first?

    The easiest way is to get the app called group e mail.  There are a couple of others as well.  There is a way to do it on your computer, and sync it, but I find that personally frustrating.  :).  Save yourself the aggrevation, and get the app, that works pretty well.

  • Do I need to create new group for standby redo log files?

    I have 10 group of redo log files with 2 members for each group for my primary database , Do I need to create new group for standby redo log files for the standby database
    Group#     Members
    ==============
    1              2
    2              2
    3             2
    4             2
    5             2
    6             2
    7             2
    8             2
    9             2
    10           2
    If So, The following statment is correct? or nto
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.LOG');
    please correct me if am doin mistake
    becuase when I issue the statment I getting error message sayin the group is already created.

    Thanks John
    I just find the answer
    Yes, it's recomeded to add new group , for instnace If I have 10 group from 1 to 10 then the standby shoudl be from 11 to 20
    Thanks I found the answer.

  • Created New Group but cannot Search User

    Hi,
    I have created new group, added the required menu, I can see the Search User Form, but when I tried to search ALL or certain user there's no user(s) found.
    Any settings or permission required forthis group?
    Thank you very much.

    If you are trying to search for users, you need to make sure your user who is searching has access to the Organization.
    Go to manage organizations, select the organization, select the Administrators option from the drop down, and then add the group you want to give writes to. Then all users in that group can perform searches for users within that organization.
    -Kevin

  • Do i have to login as orcladmin to Create New Groups

    Do i have to login as orcladmin to Create New Groups and users... because I am unable to add members to the new groups i am trying to create.

    Hi Anna,
    Any user, who is a member of this group, can create Groups in OID :-
    cn=OracleDASCreateGroup,cn=Groups,cn=OracleContext
    By default, cn=orcladmin ( the SuperUser ) and a few other internal application users are members of this group.
    Regards,
    Sandeep

  • Scritps to create new group in portal

    Hi, anyone knows where can i get a script to create new groups in portal?
    I found very good script on Metalink doc.id. 258751.1 for creating users. Does exist something like that but for groups?
    Thanks.

    Yes we have build a set of API's to create groups, add members to groups etc using wwsec_api.If you need further details post your email id and can provide additional details.

  • I have problems with creating new projects in iMovie.

    I have problems with creating new projects. When i try, the mac says the following "Make sure there is enough disk space and that you have permission to write the projects to the drive." I have 8GB available, so its not that.

    thanks for your support
    lol

  • How to create new groups (list) for storing user's data?

    Hi,
    I'm using cq-5.4 and I was undertaking the campaign management tutorial which explains about how to send out a weekly news letter. As a part of that I was creating a sign up form for subscribers to fill out. So after filling up that form, user's data would get stored somewhere and eventually that data will be used while sending out the weekly news letters to him.
    This was the link I was referring to for that,
    http://dev.day.com/docs/en/cq/5-4/wcm/campaigns.html#Create a Sign Up Form
    So on that link, the 3rd screenshot talks about how to set the form action. They have for example set the form action to 'Create and Update Account' and accordingly under 'Action Configuration', 'geometrixx newsletter' is assigned as the 'Initial Group'. But they never talked about how to create the 'geometrixx-newsletter' group? Where to create that group etc. Hence, after completing the form when I press submit, nothing happens. In reality whatever data I entered should've got stored in the 'geometrixx newsletter' group.
    So that is the place where I'm stuck. Can someone tell me how and where should i create this group?
    Thanks!

    Hi,
    Thank you for posting the screen shots I have been unsuccessful in determining exactly where the problem is coming from. Would it be possible for you to post the actual VI so that I can work with it so see if I can reproduce this issue using your code? In regard to your questions:
    1.    You are correct 1000 samples read should write 1000 samples to the table
    2.    I believe the discrepancy is due to amount of manipulation done between the read and the file write but I cannot be certain, without the code to work with.
    3.     I am unclear as to exactly what is happening. If you are reading empty channels then you may receive erroneous readings this is to be expected. When you connected your accelerometer did you connect in RSE or differential? You can also manipulate the signal range with will affect the gain setting, how off are the readings?
    JaceD
    Signal Sources Product Support Engineer
    National Instruments

  • Problem in creating material group

    Hi All,
    I have created new material group 230003-01 as per the user's request. It seems fine from my end. I transported it to production. Now user is saying material group is not working and its giving error in ME22N, 'G/L account 230003 cannot be used(please correct)'. Is anything to be modified in that balance sheet a/c?
    Can anybody help me to find what could be the cause, how to resolve this problem.
    Thanks in advance.
    Vishal.

    Its giving error msg 'G/L account 230003 can't be used(Please correct).

Maybe you are looking for