Create Netscape Identity Cookie Through a Script

I have identity server running with ldap authentication. When a user logs into Solaris 9 through ldap, I need to create a netscape portal cookie without any interaction from the user. I know that the url to accomplish this is:
http://www.myserver.com/amserver/UI/Login?Login.Token1=username&Login.Token2=password&iPSPCookie=yes
My real question is what creates the cookie in identity. Is there a program or code somewhere in identity that I could put in a startup script that would create the cookie when I passed the username and password?
Thanks

Goodfire wrote:
I want after creation of a custom database to execute a script that will create a Network Service without having to go through the UI
Its just adding those 5 lines at tsnames.ora on the client dir
How can I do i through a script?
So I can plant it after Create DB script and have both in 1 step.
P.S.
The most obvious keywords on main SE don't return something for this so it worths adding it
keywords : how to create client network service from script oracleWrong approach.
Better: create database template and execute dbca in silent mode.
Also execute netca in silent mode as Harrison suggest.
PS: Adding the 5 lines to tnsnames.ora does not create a network service, first you have to set the "service_names" init parameter and the listener will create the service when the database starts (simplified explanation).
:p

Similar Messages

  • Creating user account and setting password in Solaris9 through shell script

    I need to create and set password of user through shell scripts.
    User can be added successfully through "useradd" command but password cant be set through "passwd" command in script.
    Is there any other alternative for the same.

    Hi,
    Did you get the answere for this ? I have the same problem as urs , like I want to creat the users by using useradd and want to hardcode there password in one script.
    But I cant use expect utility which would have made my work easier

  • Can we create an Eloqua cookie for a user if we just know his email address and they have not clicked an email link or filled out an Eloqua form?

    Scenario:
    When a visitor comes to our website and creates a login, we are pushing their profile information to Eloqua via the Eloqua web services api. However, because they have not filled out an Eloqua form or clicked through an email, their page visit activity is not synced with their profile information in Eloqua because they don't have an Eloqua cookie yet (for first time visitors only).
    I know you can integrate an external form with an Eloqua form (which will then create the Eloqua cookie automatically) but because this is a login form for our website, we don't want to send secure information (such as passwords) over to Eloqua.
    Is there a way to create the Eloqua cookie using the web services api and/or javascript or is this a missing feature?

    I think what you're asking is how can you link a visitor profile to an Eloqua contact.  An Eloqua cookie is placed on a user's computer by the javascript tracking scripts - this is just a unique id that is used when saving the visitor information to a table in the Eloqua database.  It will be there regardless of whether the user comes from an email or submits a form.  What does happen when a user visits your website from an Eloqua email or submits a form is the visitor profile that has been keeping track of website activity in Eloqua gets linked to an Eloqua contact by email address.
    To make this link happen in your scenario, you can instead of pushing the information through the web services to Eloqua directly as a create contact call, create a form submission through the web services where you can pass through the elqCustomerGUID (the cookie value) along with at least an email address to make the link happen.
    You will need to:
    1. use javascript on your website to pull the elqCustomerGUID from eloqua.  There's code for this in the integration details for individual forms in Eloqua.  It has to be pulled from Eloqua servers because the cookie is a third party cookie.
    2. pass this cookie value to your server so you have it when you make the web services calls to Eloqua to push the contact information over and now make a form submission record (entities through the api Base->Form->*this will be a form submission record*) to create the link in Eloqua.

  • How to Read the "text file and csv file" through powershell Scripts

    Hi All
    i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell
    am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls
    Regards:
    Rajeshreddy.k

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • Problems in creating an Integration domain through Platform 9.2 Configuration Wizard.

    Hello,
    I've have installed WLS platform 9.2 (on Windows XP) and created
    an integration domain through Configuration Wizard. The DB for the
    domain I specified in the Wizard is MS SQL 2000. The domain was created
    in the end. But when I start the (Admin) server I keep getting
    errors related to the DB that the WLI would expect to be populated
    by default. Many thanks advance for any pointer to resolve these
    DB errors.
    ---Nam Nguyen
    - Part of the error log.
    Warning: [BEA][SQLServer JDBC Driver][SQLServer]Cannot drop the table
    'BT_EVENT_TYPE', because it does not exist in the system catalog.
    Executing stmt: CREATE TABLE SEQUENCER ( SEQUENCE_NAME VARCHAR(50) NOT
    NULL, CURRENT_VALUE NUMERIC(15) NOT NULL, IS_LOCKED NUMERIC(1) NOT NULL)
    Executing stmt: ALTER TABLE SEQUENCER ADD CONSTRAINT CC1_SEQUENCER
    CHECK ( IS_LOCKED BETWEEN 0 AND 1 )
    Executing stmt: ALTER TABLE SEQUENCER ADD CONSTRAINT PK_SEQUENCER
    PRIMARY KEY NONCLUSTERED ( SEQUENCE_NAME ) ON WEBLOGIC_INDEX
    java.lang.Exception: SQLException when executing file
    file:/C:/bea92/weblogic92/common/p13n/db/sql_server/seq_create_tables.sql
         at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:182)
         at
    com.bea.plateng.wizard.domain.gui.tasks.JDBCConfigGUITask$LoadDatabaseThread$1.run(JDBCConfigGUITask.java:1663)
    Caused by: java.sql.SQLException: [BEA][SQLServer JDBC
    Driver][SQLServer]Invalid filegroup 'WEBLOGIC_INDEX' specified.
         at
    weblogic.jdbc.base.BaseExceptions.createException(Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown
    Source)
         at
    weblogic.jdbc.base.BaseExceptions.getException(Ljava.sql.SQLException;II[Ljava.lang.String;Ljava.lang.String;I)Ljava.sql.SQLException;(Unknown
    Source)
         at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken()V(Unknown
    Source)
         at
    weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(BLweblogic.jdbc.base.BaseWarnings;)Z(Unknown
    Source)
         at
    weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(ILweblogic.jdbc.base.BaseWarnings;)V(Unknown
    Source)
         at
    weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType()I(Unknown
    Source)
         at weblogic.jdbc.base.BaseStatement.commonTransitionToState(I)V(Unknown
    Source)
         at weblogic.jdbc.base.BaseStatement.postImplExecute(Z)V(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.commonExecute()V(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.executeUpdateInternal()I(Unknown
    Source)
         at
    weblogic.jdbc.base.BaseStatement.executeUpdate(Ljava.lang.String;)I(Unknown
    Source)
         at
    com.bea.plateng.domain.jdbc.JDBCDataLoader.loadData(JDBCDataLoader.java:748)
         at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:166)
         ... 1 more
    Database Load Failed!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Bishnu Kumar wrote:
    Nam,
    By default the backend database is Pointbase.But if you want to use another database you need to run all SQL scripts which is needed for the WLI server.Also, while creating the domain you need to alter the database settings(Driver,Connection pool).
    You can find the SQL Scripts at location :in weblogic installation directory.
    weblogic81\integration\dbscripts\mssql
    Hope it works for you if work around this.
    Regards
    BishnuThanks, Bishu. The problem is actually 2-fold:
    a) this was executed by the Wizard; and I didn't have the same problem
    when using the Wizard in 8.1 sp6.
    b) I don't know the sequence of the SQL scripts I should run.
    Again, thanks for any pointer.
    ---Nam

  • Role Tab(section) is not getting captured through CATT script on PI/XI.

    Role Tab(section) is not getting captured through CATT script on PI/XI system
    I am trying to create CATT script for user creation and role assignment on PI/XI. Every screen except ROLE and GROUPS is getting captured.

    Hi Plaban,
    I have had the same problem in the past but I didn't investigate too far. 
    What I prefer to do is have 2 scripts.
    1. User Creation using SU01
    2. Role assignment using SU10

  • Create the JSESSIONID cookie with the secure flag

    Hello,
    I wonder if it is possible, through UCM or Weblogic configurations, to automatically create the JSESSIONID cookie used when a user is logged on with the secure flag?
    I have not found any parameters so far that could allow this.
    Thanks in advance!

    We have public Websites running on UCM/SiteStudio which are only accessible through SSL by visitors. The aim is that every cookies should be secure to be sure that they are not transmitted in plain text to our server.
    We thus would like to find a way to put the secure flag on JSESSIONID to avoid any case of session hijacking.
    Thanks.
    Edited by: Leo-G on 17 juil. 2012 23:57

  • How to create an Oracle DATABASE through Java Programming Language.. ?

    How to create an Oracle DATABASE through Java Programming Language.. ?

    Oracle database administrators tend to be control freaks, especially in financial institutions where security is paramount.
    In general, they will supply you with a database, but require you to supply all the DDL scripts to create tables, indexes, views etc.
    So a certain amount of manual installation will always be required.
    Typically you would supply the SQL scripts, and a detailled installation document too.
    regards,
    Owen

  • How we can create Oracle 9i Database through Commands.

    How we can create Oracle 9i Database through Commands.
    We need step by step process and all the scripts.

    CREATE DATABASE
    Caution:
    This statement prepares a database for initial use and erases any data currently in the specified files. Use this statement only when you understand its ramifications.
    Note Regarding Security Enhancements:
    In this release of Oracle and in subsequent releases, several enhancements are being made to ensure the security of default database user accounts.
    To provide guidance for configuring Oracle9i in a secure manner, Oracle Corporation provides a security checklist. Oracle Corporation recommends that you read this checklist and configure your database accordingly. The security checklist can be found at the following URL:
    http://otn.oracle.com/deploy/security/oracle9i/pdf/9iR2_checklist.pdf
    Examples
    Creating a Database: Example
    The following statement creates a database and fully specifies each argument:
    CREATE DATABASE sample
    CONTROLFILE REUSE
    LOGFILE
    GROUP 1 ('diskx:log1.log', 'disky:log1.log') SIZE 50K,
    GROUP 2 ('diskx:log2.log', 'disky:log2.log') SIZE 50K
    MAXLOGFILES 5
    MAXLOGHISTORY 100
    MAXDATAFILES 10
    MAXINSTANCES 2
    ARCHIVELOG
    CHARACTER SET AL32UTF8
    NATIONAL CHARACTER SET AL16UTF16
    DATAFILE
    'disk1:df1.dbf' AUTOEXTEND ON,
    'disk2:df2.dbf' AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE temp_ts
    UNDO TABLESPACE undo_ts
    SET TIME_ZONE = '+02:00';
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_55a.htm#SQLRF01204
    Joel P�rez

  • I am using Diadem V10.1. I am trying to Export the pdf report through my script.

    I am using Diadem V10.1. I am trying to Export the pdf report through my script. When I try to export individual report manullayFile -> Pdf Export it creates a proper plot in pdf. But I try to get multiple reports from script it, I can see only 1 quarter of the plot as shown in attachment. Can somebody help me how to resolve it.. FYI, I can see Diadem PDF Export Printer enabled in my machine
    Attachments:
    Capture.JPG ‏60 KB

    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Start''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    PrintName = "winspool,DIAdem PDF Export,LPT1:"
    PDFResolution = "150 DPI"  '  "2400 DPI" ,  "default"
    PDFOptimization = TRUE
    PDFFontsEmbedded = FALSE
    PDFJPGCompressed = "high"
    Call PrintMaxScale("REPORT")
    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''End''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    Call PicPrint("WinPrint")

  • Importing HTMLDB application through sql scripts

    I have a question regarding importing application in HTML DB. We have developed an application in one of our instances and now we would like
    to deploy the same in all other instances (around 180 instances). We will copy the schema objects through export / import from the backend (through a script). But to import the application, we need to logon to htmldb (from frontend ) and import it.
    As we have to do it across 180 instances, its very difficult to do it after login to htmldb and import the application. We would like to know if we can import an application and workspace by running the sql scripts ( created by exporting application and workspace on source instance) in the sqlplus prompt.
    In this regard could any one please let me know about the following things.
    1. Can we directly run the sql's (which were created when we exported workspace and application) in the target database?.
    2. If yes, from which user we should run this sql script (Presently we are using HTMLDB 2.0 version)
    I have also noticed the following schemas are locked in the database.
    FLOWS_020000
    FLOWS_FILES
    FLOWS_010500
    3. Are there any extra steps which we need to do it after running the sql scripts in target instance.
    4. Is there any way to delete the application and workspace from backend (i.e sqlplus) incase if we need to re-import the same application and workspace.
    (This situation arises if we need to make any changes to the application after deploying it in the data center.)
    Your help in this regard is highly appreciated.
    Thanks in advance.
    Suneel

    if we can import an application and workspace by running the sql scripts ( created by exporting application and workspace on source instance) in the sqlplus prompt
    Yes, you can.
    1. Yes.
    2. The workspace export files need to be run as the FLOWS_nnnnnn schema (depending on which version of HTML DB is the active one, you seem to have both 1.5 and 2.0 installed). Yes, you would need to unlock the account first to do this.
    3. If your application needs external CSS or Javascript or image files, you need to copy those over using standard OS file copy tools
    4. Importing a application using SQL*Plus deletes the existing application first so you are fine. You would never need to delete a workspace, a workspace is just a "shell", a container for all your applications.
    Hope this helps.

  • Trigger scenario when receive a flag 'X' through Unix script

    Hi All,
    I want to schedule my scenarios through a third party software which does scheduling of all jobs across landscape.
    My requirement is as follows:
    1) receive a flag having value 'X' through Unix shell script and then i want to trigger my PI scenario.
    2) when my scenario is successful then i want to send a success flag to third party schedular so that it can proceed with rest of the job scheduling.
    -> This second part i can perhaps do by using OS level commands after message processing.
    However how can i trigger my scenario after receiving flag?
    Thanks ,
    Atul.

    Hi VJ,
    Thanks for ur reply.
    Can u plz suggest any blogs for this...
    I have understood it like below:
    I will create a file through Unix script.
    This file will trigger my scenario.
    then if my real scenario is File to JDBC How should i pick up new file?
    How to achieve this order like:
    Receive first file
    Receive second file
    Send to JDBC.
    I am confused with Receiving first file and then again calling second channel to receive another file..
    Can u suggest how to configure it in ID? Like how many sender agreements, Receiver agreements etc
    Thanks,
    Atul

  • Creating Kerberos Identity for RD Session Host Farms for w 2012 r2

    anyone knows how Creating Kerberos Identity for RD Session Host Farms for w 2012 r2.
    I tried what they said the post
    to w 2008, With
    powershell I find the possibility and the
    script indicates the error class is not
    valid

    Hi,
    Referring to your comment, here providing you article for Kerberos authentication in server 2012. Please refer to the below article.
    What's New in Kerberos Authentication (You can refer for Server 2012 R2)
    http://technet.microsoft.com/en-us/library/hh831747.aspx
    Hope it helps!
    Regards.

  • How to Turn On/Off Airplane mode in windows through powershell script

    I want to turn on and off Airplane mode through powershell script, any way for this?
    I know that there are some exe files that can be used, but still I want to do this from powershell script.

    Hi,
    According to your description, I would like to share the link with you:
    Airplane Mode On or Off Shortcuts - Create in Windows 8
    http://www.eightforums.com/tutorials/24541-airplane-mode-off-shortcuts-create-windows-8-a.html
    If you want to the detail of the script, I suggest to post the question on Script Center forum for further help.
    Script Center forum:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Regards,
    Kelvin_Hsu
    TechNet Community Support

  • How can create registry value with GPO OR script

    Hi Friends
    I have around 45 registry entries in .REG file.. in HKLM and KHCU path as give below as example
    How can i create these registry entries through logon file with GPO or script..
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\DT Research]
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement]
    @=""
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1]
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1\Button0]
    "strDescription"="Brightness"
    "iFunction"=dword:80010005
    "strAppPath"="DtrBrightness.exe"
    "strAppParameter"=""
    "vkcode"=dword:00000001
    "repeat"=dword:00000000
    [HKEY_CURRENT_USER\Software\DT Research\BtnManagement\BtnFunc1\Button1]
    "strDescription"="Brightness"
    "iFunction"=dword:80010005
    "strAppPath"="DtrBrightness.exe"
    "strAppParameter"=""
    "vkcode"=dword:00000002
    "repeat"=dword:00000000

    there are two ways you can achieve this.
    if you are using server 2008 or higher and if your clients are windows xp with latest updates and IE or higher you can use group policy preferences. You would need to configure the settings from your reg key using group policy editor under the preferences
    section. We can provide more detailed instructions for this if you need. 
    alternativley, a simpler option, but maybe less manageable, is to split your reg file into two sections - one for the user and one for the machine. This is required since i am assuming your users are not local admins on their computers - if they are then
    you don't need to split it. 
    once split you would need to create two batch file scripts which from memory you would use reg /s path_to_reg_file.reg 
    you need one computer startup script which applies the settings to the HKLM keys - as you need admin rights to do this, the script in the computer startup will run under the computer account which is privileged.
    you can then create the same batch file but point to your user settings reg file and put this as a user login script. 
    if you need further step by step please let us know. 
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

Maybe you are looking for

  • LabVIEW for Linux OS support

    My OS is RH Fedora Core2 , and installed LabVIEW 7.0. But when running LabVIEW , it can just popup the initial interface then stoped , can not show the LabVIEW envirument , how to solve the problem ? David

  • Date Format for Spry data set sort

    Hi Just feeling my way through the use of Spry Datasets for the first time and have a couple of issues hopefully someone with more knowledge of it than me know the answer to. I had an issue with my Spry Dataset initially that it would not work in ie7

  • What should my screen resolution be on macbook

    what should my screen resolution be on macbook?

  • Why does my bluetooth mouse lose contact with my MCB

    Hello community, my mouse sometimes loses contact with my mbp retina 15' Mavericks, it has a bettery at 50% power. Is this normal? Thank you in advance

  • Problems Unzipping software

    Hello, I downloaded the OWB 10gr2 software and am unable to unzip it on our Solaris box. Has anyone else encountered this issue? Thanks, Adrienne