Working with groups programatically

Hello all,
I have a need to add users to groups, set default group etc.. via sqlplus. I have tried using the wwsec_apis and encountered numerous problems.
1) wwctx_api.set_context needs to be set to use the functions, but this procedure generates user errors.
2) I need to call the wwsec_api.set_defaultgroup from a trigger, but apparently it does a commit so I have to do an autonomous transaction. But you can't do automous transactions over a db_link on y database version.
3) Tried using DBMS_LDAP to update OID directly. This works, but users are not being directed to the group home page even though default group is set.
Has any out there been sucesful in doing this? If so, can you reccommend any tips and tricks.
Thanks in advance,
Curt

Hello,
thanks!
Take a look what i've done:
In CVS Server:
1. Login as root.
2. I created a cvs group
3. I created a mario user and i belongs to cvs group
4. /home/cvs will be a repository directory.
5. export CVSROOT=/home/cvs
6. cvs init
In Client:
1. Local user is called mario.
2. export CVSROOT =:ext:[email protected]:/home/cvs
3. export CVS_RSH = "ssh"
4. cd /home/marioo/myProject
5. cvs import myProject vendor_1_0 revision_1_0
5.1 It asked for a password and shows a vi to insert comments about the project
JSCreator:
1. Vesioning > > CVS > > Check Out...
2. Working Directory = /home/myProject
3. CVS Server Type = ext
4. CVS Server Name = Server's IP
5. User Name = mario
6. Repository Path = /home/cvs
Afterwards i could see that 3 directories was created: CVS, CVSROOT, myProject.
But i got this error message:
Command "LIST_SUB_STATUS_CMD" has failed. Execution string: org.netbeans.modules.vcs.profiles.cvsprofiles.commands.JavaCvsCommand.class "dir=/home/mario//meuProjeto" -d ":server:[email protected]:cvsroot" -f -f status -R
No error output is available, the standard output of the command can be found in Runtime.
Any help would be appreciatted!!

Similar Messages

  • Working with Groups, Region Data Somehow Misaligned Locations in Audio Files.. How to Realign?

    Hello All,
    I'm a nonexpert, so please excuse in advance any lack of knowledge that I probably should have. I've been heavily editing a recording of several days of jams for a long time, basically by cutting and aligning very disparate parts to form something new. I had been working with my drummer's audio tracks in group, so each would be aligned as I cut, pasted and stretched regions. Now to my dismay, the all of the kick drum regions have become unaligned with the other drum tracks. This isn't something I can simply nudge, because it has shifted the location of the audio data of all of the kickdrum regions back 5 or 6 seconds. Therefore, the proper start of the region is not even loaded. If you look at the screenshot below, there are two audio files, one drum overhead (0022 AIRE 2) and the kickdrum (0023 BOMBO). The regions 0022 AIRE 2.89, 107, 108, etc. should correspond in sample location with 0023 BOMBO.89, 107, 108, etc. But, as you can see, the BOMBO samples have been shifted leftwards, all of them.  All of the other drum tracks have the correct alignment for each region.  My question is: Is there a way I can copy the region mapping information between 0022 AIRE 2 and 0023 BOMBO? Or are there any other ways to tell 0023 BOMBO regions 89, 107, etc. to pull audio data from the same location as 0022 AIRE 89, 107, etc.? I really hope so, because if not I'm helpless. Thanks to anyone and all who might have some advice. JS

    Jeez, now it has happened to my other tracks as well.. If someone could please help, I would be grateful. Put too much work into it to have this ruin everything.. Here is another picture, how can I get these samples to realign? Remember, they are supposed to be part of a group and thus aligned. For some reason, the samples for the track 040 BOMBO have been all shifted leftwards in time from where they take the sample from the audio track. How can I fix this? Thank you anyone who can help..

  • DISTINCT on object type collection not working with GROUP BY

    Hello,
    I have an object type with collection defined as:
    create or replace type individu_ot as object (
       numero_dossier          number(10),
       code_utilisateur        varchar2(8 char),
       nom                     varchar2(25 char),
       prenom                  varchar2(25 char),
       map member function individu_map return number
    create or replace type body individu_ot is
       map member function individu_map return number
       is
       begin
          return SELF.numero_dossier;
       end individu_map;
    end;
    create or replace type individu_ntt is table of individu_ot
    /When I use it in simple SQL without any aggregation, the distinct keyword works well and returns me the distinct entry of my object type in the collection:
    SQL> select cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list
    from   site_section_cours    sisc
              inner join enseignant_section_mc   ensemc
              on sisc.code_session = ensemc.code_session and
                 sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
              inner join individu_mc indivmc
              on ensemc.numero_dossier_pidm = indivmc.numero_dossier
    where  sisc.seq_site_cours = 6
    DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM)                                                                                                                                                                                            
    INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé))                                                                                                                                                                                                    
    1 row selected.However in SQL with broader selection with group by, the distinct isn't working anymore.
    SQL> select *
    from   (
             select sisc.seq_site_cours,
                    cast(collect(distinct individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom)) as individu_ntt) as distinct_list
             from   site_section_cours      sisc
                       inner join enseignant_section_mc   ensemc
                       on sisc.code_session = ensemc.code_session and
                          sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
                       inner join individu_mc indivmc
                       on ensemc.numero_dossier_pidm = indivmc.numero_dossier
             group by sisc.seq_site_cours
    where seq_site_cours = 6
    SEQ_SITE_COURS DISTINCT_LIST(NUMERO_DOSSIER,CODE_UTILISATEUR,NOM,PRENOM)                                                                                                                                                                                            
                 6 INDIVIDU_NTT(INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé),INDIVIDU_OT(15,PROF5,Amidala,Padmé))                                                    
    1 row selected.there is case where I need to return more than one collections, with distinct entries in it.
    Is there something I am missing?
    Thanks
    Bruno

    Not a bug, rather an undocumented feature.
    Here are some alternatives you might want to test :
    1) Using the SET operator to eliminate duplicates :
    SELECT sisc.seq_site_cours,
           set(
             cast(
               collect(individu_ot(indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom))
               as individu_ntt
           ) as distinct_list
    FROM site_section_cours sisc
         INNER JOIN enseignant_section_mc ensemc
                 ON sisc.code_session = ensemc.code_session
                 AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
         INNER JOIN individu_mc indivmc
                 ON ensemc.numero_dossier_pidm = indivmc.numero_dossier
    GROUP BY sisc.seq_site_cours
    ;2) Using MULTISET with a subquery
    SELECT sisc.seq_site_cours,
           CAST(
             MULTISET(
               SELECT distinct
                      indivmc.numero_dossier, indivmc.idul, indivmc.nom, indivmc.prenom
               FROM enseignant_section_mc ensemc
                    INNER JOIN individu_mc indivmc
                            ON ensemc.numero_dossier_pidm = indivmc.numero_dossier
               WHERE sisc.code_session = ensemc.code_session
               AND sisc.numero_reference_section_cours = ensemc.numero_reference_section_cours
             AS individu_ntt
           ) AS distinct_list
    FROM site_section_cours sisc
    ;

  • Custom IKM Knowledge Modules are not working with Group By Clause

    Hi All,
       I am facing an issue with custom IKM knowledge modules. Those are IKM Sql Incremental Update and IKM Sql Control Append.
    My Scenario is
    1. Created an interface with table on source and temporary datastore with some columns in target.
    2. In the Interface on the target i defined one column as UD1 and other column as UD2  for which group by to be implemented .
    3. Customized  IKM Sql Incremental Update  with " Group by " by making  modification in my IKM Sql Incremental Update
    detail step "Insert flow into I$ table"  i.e., i replaced like this whereever i find this <%=odiRef.getGrpBy()%> API
    Group By
    <%=snpRef.getColList("","[EXPRESSION]","","","UD1")%>,
    <%=snpRef.getColList("","[EXPRESSION]","","","UD2")%>
    Up to UD5.
    . Here in the place of [EXPRESSION] i passed column names for UD1 similarly other column name for [EXPRESSION] of UD2.
    4.Made all the proper mappings and also selected the KM's needed for that interface like CKM Sql ,IKM Sql Incremental Update.
    5. Executed the Interface with global context.
    Error i am getting in this case is :
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00979: not a GROUP BY expression
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    Here the columns in the select clause are there in Group By also.
    I did the same scenario using IKM Sql to file append .In that case i am able to do it. But not with the above mentioned KM's. Please let me know if any one know it or tried with this, as it is
    high priority for me.
    Please help me out.
    Thanks,
    keerthi

    Hi Keerthi,
    If your are transfering data from Oracle to Oracle (I means source is oracle Db and target is also oracle DB) then use below KM's and group by will come automatically based on the key values you selected on interface target datastore
    1) CKM Oracle
    2) LKM Oracle to Oracle (DBLINK)
    3) IKM Oracle Incremental Update (MERGE)
    Hope this will helps to resolve your issue
    Regards,
    Phanikanth

  • Group messaging not working with groups that contain non iphone users

    I have an Iphone 5 and for some reason I can't send/receive group messages with groups that contain non Iphone users.  Basically I recieve single text messages/imessage from each person who responds to the group message.  This is incredibly annoying.

    Hello, megbu36. 
    Thank you for visiting Apple Support Communities.
    Check to make sure that group messaging is enabled.  Go to Settings > Messages and turn on Group messaging.
    iOS: Understanding group messaging
    http://support.apple.com/kb/HT5760
    Cheers,
    Jason H.

  • Problem with multi take drum tracks not working with group selection editing

    HI All
    Ive recently tracked drums into using 7 mics and doing multiple takes layered on top of each other, the 7 takes belong to the same group and i have enabled group editing in the settings.
    I think i changed the comp options at the end of the track and as a result audio tracks 1 and 2 edit between takes together fine. I.e. when i choose say take 5 with track it does the same selection for track 2.
    Tracks 3-7 work in the same way fine, im just wondering if anyone knows how to get them as a complete group again so that when i choose take 5 for example on the one audio track, it will make the same selection for all of them!
    thanks

    Colin,
    I did a multi camera edit of Act 1 of a taped performance and all went well. Moved on to Act 2, which ran longer and each camera needed a tape change. So I matched the clips from each camera on each video track and tried to move on to the sync & then create a multi camera sequence stage of the project. That's when I hit a road block. I could not sync the four video tracks. So I consulted Adobe's on line help and this was all I could find about my predicament:
    Note: Adobe Premiere Pro uses an overlay edit when  synchronizing clips. Take care not to overwrite adjacent clips if you have  multiple clips on the same track.
    So what was I to do next? I found your post and now know exactly what to do. Thanks for a great explaination and saving me a lot of head scratching.
    Why couldn't Adobe explain it as well?
    Thanks,
    Angelo

  • How to work with Group Administration

    I am working as a System Administration.
    I have knowledge in Windows based environment.
    I am newly got a job, where I have to maintain MAC based servers.
    I don't have knowledge about USER and GROUP Administration.
    Please help me out about this thoroughly and in a simple manner.

    Hi
    Start by reading this:
    http://manuals.info.apple.com/en_US/Mac_OSX_Server_v10.6_Getting_Started.pdf
    Progress onto this:
    http://manuals.info.apple.com/en_US/UserMgmt_v10.6.pdf
    The rest of the Manuals are here:
    http://support.apple.com/manuals/#serversandenterprisesoftware
    In case you were not aware these Forums are User to User only. No-one from Apple is obliged or likely to respond directly to your question(s).
    I would also advise you to enrol in an Approved Apple Server Training Course if that's a possibility in your area? You should also consider using Google.
    HTH?
    Tony

  • Does onClick event work with Group in Adobe CC?

    Hi everyone
    I need to know if onClick event can be used on a Group in Adobe CC as it does in CS versions.
    Thanks!

    The removal of this option may also be due to the ScriptUI update in CC.
    http://blogs.adobe.com/aftereffects/2013/04/whats-new-changed-after-effects-next.html
    scripting changes
    ScriptUI is now based on the same controls as the main application, so appearance and functionality of panels created with scripts should be more consistent.
    Other scripting changes will be listed in a separate post on this blog soon.

  • Problem working with Group Shots

    some clips are attached to groups through red lines, some through blue lines. what does this mean?
    is there a way to auto-arrange clips? shots browser is looing pretty messy here...

    snippet from debug log...
    Mon Mar 06 11:11:05 2006 URL::parseHeaders: StatusLine set to [400 Bad Request]
    Mon Mar 06 11:11:05 2006 parsed all headers OK
    Mon Mar 06 11:11:05 2006 sendResponse() : uref->getStatus() = '400'
    Mon Mar 06 11:11:05 2006 Going to send headers to the client. Status :400 Bad Request
    Mon Mar 06 11:11:05 2006 Content Length Unknown

  • Working with target groups in ChaRM?

    Has really nobody worked with transport groups in ChaRM??

    Hello Elena,
    I agree with Prakhar - admin/operator who performs the actual import into production must be VERY careful:
    in case when you have several target systems in the transport route, when you release transport from source system, the transport is exported into the buffer of EVERY target system that is defined in the route - no matter how you group your target systems.
    In the Task List however each producton system will have it's own CTS project generated.
    So your operator must be very well aware of which production system is accotiated with which CTS-project so to execure Import from SCMA correctly, and also be aware of what transports are in the buffer of that system at that time - there will be no pick-n-choose once Import is run.
    The import into production will NOT be made via SCMA or the change request itself, but directly in STMS via the QA buffer.
    We will generate an email with the target systems and transport request numbers out of the change request and send it to the basis team. They are not going to work in the Solution Manager.
    So, actually we need that the target group to be written directly in the transport request itself.
    Do you think this is possible?
    But I don't agree that it is a good idea to create multiple maintenance projects (i.e. separate for each production system) - if all your PRD* systems are fed from the same DEV... In this case it must be just one maintenance project with multiple target systems, I think.
    It is ok if the transports are written to all production buffers.

  • Smart Groups not working with keywords?

    I've gone through the various forum posts on Smart Groups (especially this one - http://discussions.apple.com/thread.jspa?messageID=8649078&#8649078) but still haven't found an answer to this problem.
    After importing my test files into my local iTunes install, I used the "Get Info" method to edit the metadata for those files. At this time, I put a series of keywords in the "grouping" field. I then uploaded these test files to our iTunes U site.
    When I search for those keywords on our site, I get the results that I expect to get. However, when I try to create a Smart Group based on any of those keywords, I get no results. I waited for a few days, hoping that the indexing would catch up and yield more search results - but that didn't seem to fix the problem. The documentation states that Smart Groups should work with keywords... so is there something I'm missing here?
    Any thoughts would be very helpful.

    Duncan, thanks for responding to me quickly.
    I'm confused where the keyword field is, though. I don't know of a keyword field using the "Get Info" method of editing the file's metadata on the local iTunes install, and the guide is unclear about where that field is or how to add information into it.
    On this page (http://deimos.apple.com/rsrc/doc/AppleEducation-iTunesUUsersGuide/UsingiTunesUSe arch/chapter10_section2.html), it mentions the following method for adding keywords for iTunes U:
    "To add additional keywords for iTunes U to search:
    1. Control-click the track where you want to add keywords, then choose Get Info from the shortcut menu that appears.
    2. Click the Info tab.
    3. Add keywords to the Grouping field. When searching your iTunes U site, after a track title, keywords in the Grouping field have the second-highest matching relevance.
    4. Click OK."
    This is the method that I've been using, since it seems to say that any words added to the "Grouping" field on the local install get read as keywords by iTunes U. Is there another way to add keywords to a file that I'm missing?

  • Google drive does not work with specific group but works with all users group!!

    Hi,
    Why Google drive does not work with specific group but works with all users group?
    My rule :  Internal > external > all users = works fine
    But
                   Internal > external > A group = not working !!

    Hi,
    if you require user authentication in Firewall policy rules, the clients must bei Webproxy clients (for HTTP / HTTPS) or TMG clients (for TCP/UDP):
    http://technet.microsoft.com/en-us/library/bb794762.aspx
    regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.galileocomputing.de/3276?GPP=MarcGrote

  • Currency conversion with Group consolidation does not work

    Currency Conversion WITHOUT group consolidation works (script logic reads CURRENCY = %GROUPS_SET%) which puts out values in USD. The values were translated correctly as per the exchange rates.
    Now, since we need consolidation, I ran currency consolidation WITH group consolidation (I changed the script logic to read GROUP = %GROUPS_SET%). FXtrans package runs successfully with 0 records (0 submitted, 0 success, 0 fail).
    I also referred NOTE 1519146.
    Please advice.
    Thanks,
    Tagz

    Hi,
    You can try to use %GROUPS_DIM% or the dimension name directly in the dynamic script as suggested.
    And also try after modifying your currency conversion script as GROUPS = %GROUPS_SET%. If this does not work please try
    by hardcoding GROUPS=Value in the script and let us know how it works.
    Hope this helps.
    Regards,
    Shoba

  • Work with a table in different schema depending on the user group

    I have 2 groups of users user_group1, user_group2 and also two different schemas schema_group1,schema_group2 containing the same table names with a different content.
    Now, i have to write a stored procedure which takes user name as input and depending on which group the user belongs to, i want to work with table in that user_group schema.  i.e.(if user_group1 then "schema_group1"."table". if user_group2 then "schema_group2"."table" )
    i tried to set schema using dynamic sql but it seems that the schema is changing only after the end of the stored procedure.

    yes, i do maintain a table to map user groups with schema name.
    i have two tables:
    table-1: USERS(user_name, group_name)
    table-2: GET_SCHEMA(group_name, schema_name)
    // Just to make it simple(for testing purpose), i am directly assigning the schema_name inside the stored procedure.
    CREATE PROCEDURE "TEJA"."RETURN_SCHEMA_OF_USER" (IN IN_USER_NAME VARCHAR(30))
    LANGUAGE SQLSCRIPT
    AS
    BEGIN
         DECLARE VAR_USER_GROUP VARCHAR(20);
         --DECLARE VAR_SCHEMA_NAME VARCHAR(20);
         DECLARE SCHEMA_NAME VARCHAR(20);
         DECLARE SQL_STATEMENT VARCHAR(200);
         DECLARE VAR_TEMP VARCHAR(200);
         SELECT USER_GROUP INTO VAR_USER_GROUP FROM "TEJA"."USERS" WHERE USER_NAME =      IN_USER_NAME;
         --SELECT VAR_USER_GROUP AS USER_GRP FROM DUMMY;
         -- SELECT GROUP_NAME INTO VAR_SCHEMA_NAME FROM GET_SCHEMA WHERE GROUP_NAME =      VAR_USER_GROUP;
         -- Instead of above statement, i am directly assigning the schema_name below
         IF VAR_USER_GROUP = 'UNION' THEN
                SCHEMA_NAME := 'USER_UNION';
         ELSE
                SCHEMA_NAME := 'USER_CORPORATE';
         END IF;
         SQL_STATEMENT := 'SELECT * FROM "'||:SCHEMA_NAME||'"."USER_DETAILS"';
         --I have USER_DETAILS table in both the schemas.
         --SQL_STATEMENT := 'SET SCHEMA ' || :SCHEMA_NAME || ' ';
         --sets the schema after the stored procedure is executed.
         EXECUTE IMMEDIATE SQL_STATEMENT;
    END;
    This dynamic sql statement does the job for me, but i don't want to use dynamic sql in all my stored procedures. I need this kind of functionality in almost all of my stored procedures. So, i am looking for a better approach.  I really appreciate your valuable inputs.
    Thank you

  • IPod no longer works with Older iMac (works with new iMac)

    Hi all:
    First off sorry about the cross post but I got no response to this question in the other forum. Hoping for help from this group. Thanks!!!!
    I have an iMac Duo (20" 2.0Ghz) running 10.4.8 and iTunes 7.0.1 which recognizes my 5g (and my wife's 4g) no problem. However when I attach either of them to my G3 (G3 500 MHz) running 10.2.8 (iTunes 6.0.5) they are not recognized.
    I believe that the 5G won't work because the G3 does not have USB 2. However, I do not understand why the 4G does not work.
    The 4G worked with the G3 for about 2 years. I have not tried to attach it to the G3 since we bought new computers (iMac for me, MacBook Pro for her) until today. I wanted to use it to transfer some files from the G3 to the new iMac.
    I have tried forcing the 4G into disk mode and connecting it to the G3 but that did not help (I tried this with the 5G also).
    I am using a USB cable with the 5G and a firewire cable with the 4G.
    According to software update all of the computers are 100% current.
    Thanks for any and all help!
    Gary

    I'm no geek but I can say that my 5G video iPod works just fine with my B&W G3 (450Mhz processor), which I am pretty sure only has USB 1. My G3 is running iTunes 7 and OS 10.4.5. Updating may solve your problem.

Maybe you are looking for

  • People Search and a Custom Property

    I am trying to surface a custom property in the people search query results. For example, http://<servername:port>/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31' I get XML results but when I look at the properties ret

  • Is there a way to allow Ipad with wi-fi to use a celluar plan?

    I would like to know if I there is any way that my Ipad with wi-fi access can be changed or accessorized to accommodate a cellular plan? Or to be able to use it without wi-fi

  • Recording from analogue cassette

    Hi everybody! I'm a computer klutz and wish to record onto my computer from a tape casette, how do I go about it and what equipment do I need?

  • DNG converter and USB 3.0

    I replaced a 6 year old Sandisk USB 2.0 compact flash card reader with a new Kingston USB 3.0 reader. Was hoping to get faster transfer rates using the Adobe DNG converter to xfer and rename directly from the compact flash card to hard disk. Didn't h

  • My iphone5 is not syncing with my macbook pro.

    My iphone5 is not syncing with my macbook pro.  Specifically the calendar.  it syncs with my iPad fine just not the laptop.  Suggestions?