MAXL - Alter User

Hello world

Is it possible to add LDAP Native Essbase users groups using MAXL.

I can add native users groups native Essbase using the following command
change user 'User_name' add to group 'group name ';

But do not seem to find a way to do the same for LDAP users.


Thanks in advance for your help.

Maxou-

There is a way through Maxl one example being

create or replace type of "essuser" external user;
ALTER user 'essuser' adds to the Group essgroup;

or

create or replace type of "essuser@LDAPNAME" external user;
ALTER user "essuser@LDAPNAME" add to the essgroup group.

I don't know if it forces an entry in the dry.

See you soon

John
http://John-Goodwin.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • ALTER USER on read-only database link db

    Oracle 11.2.0.3.6

    Solaris 10

    I have a primary database and one Active Data Guard standby database physical.  My read-only database users must be able to change their password for read-only standby.  I tried to create a stored procedure with an ALTER USER inside statement and then to have my user call the stored procedure of the unalterable standby by: MIMI EXEC. CHGPWD@PRIM ();

    This translates into:

    ERROR on line 1:

    ORA-16000: database opened for read-only access

    ORA-06512: at "MIMI. CHGPWD', line 27

    ORA-06512: at line 1

    How can I allow a user who cannot access the read-only database to change their password for read-only standby?

    Here my stored procedure:

    CREATE OR REPLACE PROCEDURE MIMI. CHGPWD IS

    -CREATE OR REPLACE PROCEDURE CHGPWD IS

    sql_stmt VARCHAR2 (200);

    BEGIN

    sql_stmt: = 'ALTER USER MIMITEST IDENTIFIED BY 111111';

    EXECUTE IMMEDIATE sql_stmt;

    END CHGPWD;

    /

    Ah, I got it!  I had to create a public synonym for my stored procedure, and then create another stored procedure and use the synonym.  This is explained in the documentation of Oracle packages and PL/SQL procedures coding under the section 'referring to remote objects.  Here is what I have from the beginning to the end (My SID is MIMI and the unique name on the primary is MIMI_A):

    Read-only mode ensures:

    ALTER SYSTEM SET GLOBAL_NAMES IS FALSE SCOPE = BOTH;.

    Elementary school:

    ALTER SYSTEM SET GLOBAL_NAMES IS FALSE SCOPE = BOTH;.

    CREATE THE PUBLIC DATABASE LINK MIMI_A.WORLD WITH THE HELP OF "MIMI_A";

    ALTER SYSTEM SET GLOBAL_NAMES IS TRUE SCOPE = BOTH;.  (I need to have this true on my primary game)

    CREATE OR REPLACE PROCEDURE MIMI. CHGPWD IS

    Working directory;

    BEGIN

    dbms_job. Submit (job,' BEGIN EXECUTE IMMEDIATE "ALTER USER MIMITEST IDENTIFIED BY 666666";) END ;') ;

    END;

    /

    CREATE CHGPASS SYNONYM PUBLIC FOR MIMI. CHGPWD@MIMI_A.WORLD;

    CREATE OR REPLACE PROCEDURE MIMI. LOCAL_PROCEDURE IS

    BEGIN

    CHGPASS;

    END;

    /

    GRANT EXECUTE MIMI. CHGPWD TO MIMITEST;

    GRANT EXECUTE MIMI. LOCAL_PROCEDURE TO MIMITEST;

    Read-only mode ensures:

    Mimi/oracle/1120308 > sqlplus mimitest

    SQL * more: Production of the 11.2.0.3.0 version Fri Sep 19 15:55:56 2014

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    Enter the password:

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > exec MIMI. LOCAL_PROCEDURE;

    PL/SQL procedure successfully completed.

  • ALTER User Tablespace

    For alter tablespace of the TESTER user on 11g

    BEFORE ALTER:
    Select the username, tablespace_name of dba_ts_quotas where username = 'TESTER ';

    < u > < /u > nom_tablespace username

    TESTER test_ts
    TESTER lob_ts


    CHANGE:
    Unlimited on USERS quota of USERS of the tablespace default ALTER USER TESTER


    AFTER ALTER:
    Select the username, tablespace_name of dba_ts_quotas where username = 'TESTER ';

    < u > < /u > nom_tablespace username

    TESTER test_ts
    TESTER lob_ts
    USERS OF TESTER


    QUESTIONS RELATING TO THE:

    (1) why after tablespace of the ANALYZER is altered, the old tablespace showed still upward, i.e., test_ts and lob_ts?

    (2) how can I bring the device of CONTROL of the test_ts and the lob_ts?

    (3) after the TESTER is moved to the new tablespace, the privileges previously granted will be always effective? (such as resources, connect and others)

    Thank you

    (1) & (2): a user can create objects in any tablespace, there quotas on, not only the default tablespace.

    If you want to prevent users from creating anything in the tablespaces that have already defined the existing quotas, you need to remove it by setting the quota to 0.

    Existing objects already created by the user will stay where they are, so if your need is the case, you will have to manually move the items in the new default tablespace.

    alter user tester quota 0 on test_ts;
    
    alter user tester quota 0 on lob_ts;
    

    (3): as you have not asked Oracle to revoke privileges, all other settings remain unchanged.

  • ALTER USER USERNAME BY DEFAULT ROLE;

    Hello

    I want to know, what is the meaning of 'ALTER USER CARDS by DEFAULT ROLE ALL'

    Hello

    __Alter user scott default role; __

    1 DEFAULT ROLE is the clause that is used to activate a special role role by default when the user to connect to the database.

    2. If you want to use the DEFAULT ROLE clause OR before using the command DEFAULT ROLE, you must grant a USER ROLE.

    For ex > assume a user has beed given three roles,...

    Role1, Role2, 3... Connect privileage given to Role1, I need only role1 as a default role.

    Then, I have issued an order to allow a role1 as default role.

    SQL > ALTER USER scott default ROLE of ROLE1.

    What oracle does not, it allow a Role1 role by default WHEN the USER opens a SESSION. Now you connect priviliage only. All other roles are disabled.

    If you specify ALTER USER scott ROLE by DEFAULT ALL.

    ------All the roles that have been granted to the user are active\\

    Thank you...

    Published by: Murali on April 1st, 2011 07:09

  • Unlimited on USERS quota of USERS of the tablespace default ALTER USER &lt; schema &gt;

    Hi all

    I got a schema called dmuser1 which I had assigned to tablespace "odmperm."
    now, I was running short on space in the drive on which oracle is installed and
    There was a 'odmperm' tablespace data file,
    so I thought to drop the tablespace "odmperm" and the corresponding data file,
    so I modified the schema dmuser1 to point to the USERS tablespace in the race code below

    ALTER USER dmuser1 quota default tablespace USERS unlimited USERS.

    so I ran
    Select * from dba_users;

    Here user dmuser1 had changed users tablespace, so I used the command to remove the file from the data below

    DROP TABLESPACE INCLUDING CONTENTS ODMPERM;

    now, when I log in the dmuser1 schema, none of my paintings are present and I don't have the backup too, so please help me solve this.


    Please, I beg you.

    Thanks in advance.

    You are out of luck - the paintings disappeared and without backup or export, you will get their return. If you still have the data file on the file system, contact the Oracle Support and ask DUL - that is if you have a support contract. No other chance, I'm afraid. Your command alter user only had an effect for future tables :-(

  • MAXL command users to sign out for particular application

    Hello everyone,

    Can help me please the slot issue.

    I have essbase 11.1.2.2 and I a maxl script that copies made requests from A to B for the maintenance, but during this process, the script disconnects all users of the system even if users access A and B since they work on other applications, by example, C, D and E.

    Currently I see the command to disconnect all users in the script below maxl.

    "change the system disconnect session any force."

    Can it please let me know how I can disconnect user accessing only applications/database special (e.g. A and B) in maxl script instead of disconnect all users of Essbase.

    Thank you for your help in advance.

    You can use...

    alter system logout session on application A force
    

    You will need to use a single command by application.  More details in the documentation for the same command (alter system): http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_altsys.html , in particular, see the section called "Session Specification" in the notes at the end.

  • For the safety of the Sync API

    Is it possible to use VB/C/Java API for synchronization of security for a user. This must be equivalent to the command MaxL-
    ALTER user "usr123" sync with applications security;

    Hello

    Yes it is possible to do with the API
    In the part of the Java API of the IEssOlapServer interface, there are a number of ways to synchronize the security, such as syncUser(java.lang.String user) or syncUsers()

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to change the 'Drive' for the BSO cubes (just like we do using "alter tablespace" for ASO cubes) using MAXL etc.?

    Hello team,

    I'm trying to make a backup copy of the cube by using the copy commands, BSO

    but after copy, I need to change the drive letter (for the data and indexes of the files) using MAXLs.

    I am able to do for cubes ASO using "Alter tablespace" i.e. for example, change "D:\" car ' to 'E:\. "for the tablespace files.

    I need to do the same for the BSO cubes? any idea?

    Kind regards

    Amit

    Don't forget while you can also change the drive it can't displace data. You would have to export the data, delete the database, change the disks, and then reload.

    For the actual command of MaxL watch the MaxL Alter Database command. You can add, dorp or set volumes of disk for ind and pag files

  • The user existed but trying to drop/Alter error giving as "user does not exist".

    Hi team,

    I'm a junior DBA. As part of my work connected SYSDBA and try to drop/Alter the user, then it the following errors.

    Using the select command, I found the user is existed.

    Please suggest and help me.

    SQL > show user

    The USER is "SYS".

    SQL > select username, account_status from dba_users where username = "s354621";

    USERNAME ACCOUNT_STATUS

    ------------------------------ --------------------------------

    EXPIRED s354621

    SQL > DROP USER s354621

    2.

    DROP USER s354621

    *

    ERROR on line 1:

    ORA-01918: user 'S354621' does not exist

    =========================================

    SQL > Alter user s354621 identified by 'happy33 ';

    ALTER user s354621 identified by 'happy33 '.

    *

    ERROR on line 1:

    ORA-01918: user 'S354621' does not exist

    ============================================

    Thank you

    Venerable.

    What is the version of your RDBMS?, I've seen a few bugs related to this issue

    also post the result of this,

    Select the username, dump (username) from dba_users where username like '% s35% '.

    In addition,

    You can also post the original create statement of the user? If you created the user with quotes, you need to remove the user with double quotes. For example:

    SQL > create user 's354621' identified by one;

    Created by the user.

    SQL > drop user s354621;

    Drop user s354621

    *

    ERROR on line 1:

    ORA-01918: user 'S354621' does not exist

    SQL > drop user 's354621 ';

    Deleted user.

  • MAXL Script to retrieve a specific user groups

    Hello

    Is it possible to retrieve a specific user groups? I'm trying to get groups using command maxl "disply user to the Group groupname." But he plurarite of all groups and users. I don't want that group belongs to the specific user.

    Thank you

    Michel K

    No, I don't think you can.  "View user" won't do, 'The display Privilege' won't, 'View group' won't.  The best that you could do with MaxL exited the membership of all the groups and then parse the output to display only the user that you want.

  • Passage of the maxl script batch file value.

    Hi gurus,

    I want the user to select the scenario he wants to clear the data for a specific intersection in a cube of ASO for running batch file. Files and newspapers is as below

    Batch file:

    ECHO please select a scenario:

    ECHO A. actuals

    B. Budget echo

    choice/m C:AB '-> > enter a letter for the scenario you want to delete: "%1 '"

    IF ERRORLEVEL is 1 Set ScenarioName = law

    IF ERRORLEVEL == 2 Set ScenarioName = bud

    E:\Oracle\Middleware\user_projects\epmsystem3\EssbaseServer\essbaseserver1\bin\startMaxl.bat "C:\Users\TCleardata2.mxl" % ScenarioName %

    MaxL file:

    spool to 'C:\Users\Cleardatalog.txt ';

    / * Value Variables * /.

    Set vScenarioName = $1;

    Echo script: "$vScenarioName";

    connection username pwd on "IP:1423 Server";

    / * Erase data * /.

    ALTER database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;

    echo * clear full *;

    disconnection;

    spool off;

    Log file:

    Scenario: law

    MAXL > connection username pwd on "IP:1423 Server";

    OK/INFO - 1051034 - user [username@pqr] connection.

    OK/INFO - 1241001 - connected to Essbase.

    *****************************************************************************

    MAXL > alter database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;

    ERROR - 1260052 - syntax error in a MDX query on line 1 to token entry ' "$1".

    *****************************************************************************

    Full Claire *.

    MAXL > disconnect;

    Username is disconnected

    ___________________________________________________________________________________-

    in the MAXL if I write: law instead of ' $1 ' it works fine, but I can't take the user input, it is question of syntax?

    Below the command works fine:
    ALTER database abc.abc clear data in the region '{(law, Final, FY15, P2, ACC_1011640)}' physical;

    Can someone please let me know what I'm doing wrong here?

    Thank you

    RN

    I don't think that (alone) allows in this case - the problem is that the single quotes around the specification of the whole region removes extension variable (see Variables).

    Double quotes lose about $1, but also replace the single quotes around the specification of the entire region with quotes, i.e.:

    ALTER database abc.abc clear data in the region '{($1, Final, FY15, ACC_1011640, P2)}' physical;

  • Type of user to the Shared Services

    All,
    I'm on 9.3.1
    So far I have users only to the planning application.
    Now, most of the users above have need to access an application native essbase (with planning).
    In shared services, under project-> AnalyticServer-> AnalytciServer, only users are listed (no groups) and their Type 'user' is planning.
    Now I have to change them to "Planning, Essbase" for each user.
    I found no "user Type" in the corresponding section in the export of the CSSImportExport utility.
    have many users, is it possible to automate?

    Thank you
    Krishna

    You could look at using maxl

    For example

    ALTER user user_name add application_access_type Essbase;

    or

    ALTER user user_name add application_access_type planning;

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ESSBASE &amp; PLANNING USER TYPE SETTING

    Hi all

    We use the ESsbase and planning implementation.

    some of our face to users as a matter of 'Not allowed access to Essbase' or 'not allowed access to the planning. When we looked for the reason, we found as the user not having the two 'Essbase & Planning' as access to applications in the EA-> Essbase Server-> Security

    So, on this basis, select us the users manually in HSS and select the two 'Essbase & Planning' as the type of user for them.

    It is all utilityto perform this task.

    First of all, I need to list users who have not 'Essbase & Planning' as user type

    Secondly, I would like to change their settings in order to access the applications...

    Any help is appreciated!

    Thank you!!

    Kind regards
    Rev

    You can use maxl to set the application type
    For example

    ALTER user user_name add application_access_type Essbase;

    or

    ALTER user user_name add application_access_type planning;

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Cube to access user requests!

    Hi guys,.

    How to ask us for the user which is the access to the contents of the cube, at one time given. I know that search us for may how users are connected, but I need to know which users are connected and if we want to kill their session, how we do it?

    Thank you
    Junaid

    You can use the MAXL commands to manage sessions user below.

    See the entire session on the server.
    MAXL > display session.

    See the entire session on the specific application.
    MAXL > show session on request >;

    To kill a perticular session request
    MAXL > change request to kill system >;

    To kill a perticular user demand
    MAXL > change request kill system by user >;

    To kill the query of a perticular application
    MAXL > change request kill system on request >;

    Kill all queries on the server
    MAXL > alter the system asks to kill all them.

  • Need help with creating user hr

    Question

    To perform the requested operation, an error has occurred:

    ORA-01045: user HR has no privilege CREATE SESSION; connection refused

    01045 00000 - "user %s has no privilege CREATE SESSION; connection refused '.

    * Cause: A connection was attempted to a user name that does not

    create session privilege.

    * Action: Grant the CREATE SESSION from the user privilege.

    Code provider 1045

    SELECT * FROM DBA_SYS_PRIVS WHERE DEALER = "HR";
    No output

    SELECT * FROM DBA_ROLE_PRIVS WHERE DEALER = "HR";

    No output

    Finally did this:

    ALTER USER DEFAULT ROLE CONNECT HR;
    Again gives error

    ALTER USER DEFAULT ROLE HR CONNECT

    Error report-

    SQL error: ORA-01955: DEFAULT ROLE "CONNECT" not granted to the user

    01955 00000 - 'ROLE '%s' not granted to the user by DEFAULT'

    * Cause: Modified user does not have the specified role granted

    directly to the user.  Note that the secondary roles can be used in the

    default role clause.

    * Action: Grant the role to the user.

    In fact, it's delicate. The HR schema is installed for Oracle 12 c installation of database. However, it is locked or hidden. You must unblock with instructions as below.

    Select * from v$ PDB;

    Select name from v$ active_services where con_id = '3';

    change the container set session = pdborcl;

    ALTER database connectable to open;

    ALTER user identified by HR HR account unlock;

    Tutorial is here:

    https://www.YouTube.com/watch?v=iVo6Xnzeteg

Maybe you are looking for