Datastore - Dynamic password

Hi,
We are deploying dataservices and in QA environment, the target database password changes once in 2 weeks. We dont want to update the password to the datastore everytime as it requires manual intervention and also some of the jobs may fail till the time we update the password.
Is there a way my datastore can have dynamic passwords and read them on the fly. I mean from a text file or so.
Appreciate for your help.
Thanks

I have posted a possible way of doing this using al_engine  for datastore password
http://www.forumtopics.com/busobj/viewtopic.php?t=150341
I need to check if you could do the same for other properties, you can try that, check the ATL of the Datastore and see what is the tag name of the FTP password and try adding that also in the input XML and see if it works

Similar Messages

  • Dynamic password in FTP task in SSIS ?

    I can set almost all properties of FTP task and FTP connection manager using expressions option. In that option, I don't see that I can set FTP PASSWORD using a variable. How do I set the password dynamically ?
    Thanks.

    There are few options
    1. Set password via configuration. In configuration you can identify Password property of FTP connection manager as an item and set a value through it
    2. You can set it indirectly via connection string
    Just create a variable to hold connection string variable for FTP connection manager and make EvaluateAsExpression as true for it. Then set following as its value
    @[User::ServerName] + (DTW_WSTR,1) ":" + @[User::PortNumber] + (DTW_WSTR,1) "." + @[User::UserName] + (DTW_WSTR,1) "." +
    @[User::Password]
    Where ServerName,PortNumber,UserName and Password are variables you created inside SSIS to pass the value. You can also add them to configuration to pass the values from outside.
    If you dont want to make all part dynamic pass static values for ones you dont need (for example 21 for port etc)
    3. Use a script task to set value for FTP connection manager properties
    use code like below
    Public Sub Main()
    Dim FTPConnectionManager As ConnectionManager
    'Set variable to an existing connection manager
    FTPConnectionManager = Dts.Connections("Your FTP connection Manager name")
    FTPConnectionManager.Properties("ServerName").SetValue(FTPConnectionManager, Dts.Variables("ServerName").Value)
    FTPConnectionManager.Properties("ServerPort").SetValue(FTPConnectionManager, Dts.Variables("PortNumber").Value)
    FTPConnectionManager.Properties("ServerUserName").SetValue(FTPConnectionManager, Dts.Variables("UserName").Value)
    FTPConnectionManager.Properties("ServerPassword").SetValue(FTPConnectionManager, Dts.Variables("Password").Value)
    Dts.TaskResult = Dts.Results.Success
    End Sub
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Dynamically password protecting PDFs

    Hello, I am interested in having users populate a static PDF form and clicking the "Submit E-mail" button to email the form to a fixed recipient. However, because the completed forms would contain sensitive information, I am interested in having the form password protect itself upon sending. Is this feasible using a custom script? Would I have to create my own button submission script to accomplish this?
    To be clear, I don't want users filling out the form to have to enter any password. However, I would like for the PDF sent in an email to be password protected. Thanks in advance for any advice!

    You can do something like that but it would not be very secure.
    1. You woudl have to change the built in submit button for a regular button so that you can add code to it.
    2. You could replicate the submit functionality (it has been discussed many times on this forum).
    3. You could add a field (hidden of course) that woudl act as a flag to indicate that the form has been submitted (as opposed to being saved by the user).
    4. On th esubmit button you woudl put a value (like "Submitted") into the hidden field.
    5. On the Doc Ready event of the form1 node you coudl add script that acts like this:
    if (flagFieldName.rawValue == "Submitted"){
         var pswd = app.response("Enter the password to open the form!");
         if (pswd != "your magic password goes here") {
              app.alert("Password is not correct!")
              app.execMenuItem("Close")
    You could make this code more robust (allow 3 tries at the password etc ....but teh technique is the same.
    Make sense?
    Paul

  • Implementing dynamic Password change

    Dear friends.
    I am working with SAP.Net So i am wondering how to solve the first time login for SAP using .Net as front end.
    Moreover in the SAP Passwords will be changed every 3 months i would like to know how to handle such scenarios using .net to handle those changes in the SAP.
    Cheers
    Mark

    I assume you want a code sample? Here you are (untested, so consider it as pseudo-code):
    SAPProxy proxy = new SAPProxy();
    Destination dest = new Destination();
    // initialize your Desitnation accordingly here
    proxy.Connection = Connection.GetConnection(dest);
    bool repeat = false;
    do
    try
      proxy.Connection.Open()
      // Note: I think that the need to change password causes an exception here, but I'm not sure. So better try..
    catch(Exception ex)
    // Check if the exception was because of password needs to be changed
      PasswordDialog passDlg = new PasswordDialog(dest.Password);
      passDlg.ShowDialog();
      string passwordChangingConnectionString = dest.ConnectionString + " NEWPASS=" + passDlg.NewPassword;
      proxy.Connection.Dispose();
      proxy.Connection= Connection.GetConnection (passwordChangingConnectionString);
    repeat = true;
    } while(repeat);
    proxy.Call();

  • Automating the Datastores creation using ODI SDK's in ODI 11g.

    Hi Team,
    We have a requirement in which structure of the Datastores to be reverse engineered is attached in the .csv file below. Please give a solution to reverse engineer the datastores reading them from the .csv file. Also, Please find the file "ODI_SDK_MODEL_DATASTORES.groovy" in which I have created the Datastore using the ODI SDK's but datastore names are hard-coded inside the groovy script. Please use this file as a reference and re-write the code for datastore creation in such a way that it reads the datastore, column and datatype names at the runtime from the .csv file and creates the datastore dynamically.
    I have attached the needed files below.
    Thanks a ton in advance!!!
    Best Regards,
    Shivesh.

    I'll be very surprised if anyone will write the code for you. This is a discussion forum not a free resource for producing code. People will be willing to help point you in the right direction or help you if you hit an unusual issue. As you have done some of the work with the SDK you should be able to extend this to meet your requirements with a bit of research and trial and error.
    If this is too much, it may be worth considering hiring and experienced consultant to help you with your more difficult requirements.

  • Getting error while running shell scripts

    Hi DBAS,
    I Have one requirement,i want connect n database dynamically by using dynamic password and execute some oracle commands,i written some script ,but while running i am getting error,please any one correct my error ,i am not able to getting error
    passwrd.pw like this
    abc@abc
    aaa@aaa
    # vi healthcheck.ksh
    #!/bin/ksh
    export PW=`cat /applis/forum/pune/dbhealthchecks/.pw/passwrd.pw`
    for (( i = 0 ; i < ${#PW[@]} ; i++ ))
    do
    sqlplus -s larry/$PW<<EOI
    spool sysdate.dat
    select sysdate from dual;
    done
    exit;
    EOI
    error :
    line 2: syntax error at line 11: `for' unmatched
    thanks!
    larry
    Edited by: tmadugula on Mar 18, 2011 6:26 AM

    Could you explain the reason for the for loop and connection attempts while incrementing var $i?
    It is also no a good idea to provide a password at the command line since it can be seen with 'ps' command.
    Better:
    sqlplus -s <<-EOI
    connect larry/$PW
    etc.

  • DAP problem with LDAP

    Hi All
    I have a test about DAP and LADP. The environment is ASA5520 / RSA / AD , they all in 192.168.1.0/24.
    The user data is on AD. RSA provide dynamic password. ASA provide anyconnectvpn.
    Now i want anyconnect authentication use sdi with RSA and DAP provide different ACL base on different AD user-group.
    When i just use LDAP with AD and don't use RSA, it's ok , i can offer different ACL base on memberof value in DAP. But in real environment , the RSA is necessary.
    Did anyone have some test or project like this kind ?  I juest wanna konw whether it can be work. Thanks

    In Portal 8.1, user name and password in stored in LDAP where as user profile values are stored in database. That is the reason you are not able to see the user profile values.
    Check once again whether you can see these values through admin tool. In case,it is not(after confirmation again),you might have to use APIs to do this for you incase you dont want to manage through Admin Tool.
    Thanks,
    Prashanth Bhat.

  • Tacacs "Problem"

    Folks, if I can leverage your headspace for a moment... We have Tacacs security authentication to our switches and routers. It is configured to request a user name, and then a password. The password is a dynamic numeric combination of 2 separate numbers - a numeric value held privately by the user, appended to the key code showing on the RSA SecurID key fob, at that time. So obviously the password credentials to gain entry to the device will keep changing every minute. We have an application that needs to automatically login to a router (or switch) and pull off the config regularly at a scheduled time. This application will only be able to offer to Tacacs a user name and STATIC password (Not one that keeps changing every 60 seconds). My question therefore is how can we configure the Tacacs process to deal with a request for "static" password (by which I mean a password that does not change) for one particular user (i.e. the application) and at the same time the Tacacs process should also continue to recognise other usernames that DO require the SecurID dynamic password entry system.
    I am working though the Tacacs info at cisco.com but it is dense subject matter and I have time pressure - Thanks in advance - [email protected]

    ACS will always check its internal user database first before sending authentication parameters (username/password) off to a configured external server.
    All you need to do is add the static username/password into the ACS user database, the application will then be able to use that. When any "user" connects in, ACS won't find that userid in its internal database and will then go and send the credentials off to the external RSA server just like it is now.

  • AD Pwd. Sync - Invalid DN Syntax

    Hi all,
    I am new to OIM. I am working on AD Password Synchronization, using 9115 Connector.
    After resetting password in AD , the log shows
    Debug [03/16/11 15:14:26] AD search for a user objectGUID is successfull
    Debug [03/16/11 15:14:26] Adding a new node to datastore
    Debug [03/16/11 15:14:26] Inside sgslutilconcatData
    Debug [03/16/11 15:14:26] Entire dn is ==>
    Debug [03/16/11 15:14:26] cn=KRKapoor,OU=oimpwdsync192.168.120.186,OU=oimpwdsynccbs.ad.cbs.net,Persistent Store,DC=cbs,DC=ad,DC=cbs,DC=net
    Debug [03/16/11 15:14:26] 0:318 8 230 308 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA2qoEGWkLwUedQw/1C10kAwAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAADZgAAqAAAABAAAABQ11lFTNd6KVxLL5vVazXzAAAAAASAAACgAAAAEAAAAM1J93dxBb3vc3IBseOb3pk4AAAAGeIIPV6VUBK3k90SmsVewrFZpXpW7V7FK2BTHZc0RoevDOLdlz3J9HdoVAy1s5NeWQQxtqBtVvAUAAAAqYX7RjDausL/+CI7keSdDV6WQcg=
    Debug [03/16/11 15:14:26]
    Debug [03/16/11 15:14:26] Adding a Node Now
    Debug [03/16/11 15:14:26] Inside sgslcodsaddEPWRecord without Seq Attribute
    Debug [03/16/11 15:14:26] description
    Debug [03/16/11 15:14:26] Encrypted record already exists in Datastore
    Debug [03/16/11 15:14:26] Invalid DN Syntax
    Debug [03/16/11 15:14:26] Operation add completed
    Debug [03/16/11 15:14:26] Inside sgsladac destructor
    Debug [03/16/11 15:14:26] Password updation failed in child process
    Debug [03/16/11 15:14:26] Inside sgsladds::sgslperreadData
    Debug [03/16/11 15:14:26] Only dataattribute
    Debug [03/16/11 15:14:26] Inside sgsladdsSearchUser
    Debug [03/16/11 15:14:26] Firing Search Request
    Debug [03/16/11 15:14:26] Returning Datastore
    Debug [03/16/11 15:14:26]
    About to UNBIND datastore after processing the Records
    Debug [03/16/11 15:14:26]
    Deleting datastore object pointer
    Any idea ??
    What does Invalid DN Syntax mean ?

    thanks, i corrected the DN, now there is no such error,
    but my original requirement is not yet fulfilled
    i still gives the log as
    Debug [03/17/11 17:03:39] OU=oimpwdsynccbs.ad.cbs.net,OU=Persistent Store,DC=cbs,DC=ad,DC=cbs,DC=net
    Debug [03/17/11 17:03:39] Encrypted record already exists in Datastore
    Debug [03/17/11 17:03:39] Already Exists
    Debug [03/17/11 17:03:39] Encrypted record already exists in Datastore
    Debug [03/17/11 17:03:39] Already Exists
    Debug [03/17/11 17:03:39] Inside sgsladdsSearchUser
    Debug [03/17/11 17:03:39] Firing Search Request
    Debug [03/17/11 17:03:39] AD search for a user objectGUID is successfull
    Debug [03/17/11 17:03:39] Count success
    Debug [03/17/11 17:03:39] Search result fetched
    Debug [03/17/11 17:03:39] 0:318 5 230 308 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA2qoEGWkLwUedQw/1C10kAwAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAADZgAAqAAAABAAAADAk6mWf0bxeu1x3OZMa7a0AAAAAASAAACgAAAAEAAAALic5SzAK+YtYb0MEovtn644AAAA7Wcf3ho7HjEDPuXpzeCZ+2MLFPS71d9b+A4vbzrcn1KsaP7ItcgheX7/TOzzEVKhqrOTi1xjI3IUAAAAQSdxRCFR/TR0uC+CoiSkq4W3u0I=
    Debug [03/17/11 17:03:39]
    Encrypted record data updated successfully
    Debug [03/17/11 17:03:39] Inside sgsladac destructor
    Debug [03/17/11 17:03:39] Password updation failed in child process
    Debug [03/17/11 17:03:39]
    Relaxing while processing records from datastore
    My password in OIM is not getting updated.
    I am working on weblogic 10.3 clustered environment with just 1 node. using SSL.
    don.

  • How to hide Dynamic Parameter userid/password prompts on infoview

    Hi,
    I want to hide Userid/password for each dynamic parameter, which gets prompts while refreshing or scheduling a report
    I do enter userid and password at CMC->database level but when report has dynamic parameter it still does prompts for each parameter.
    Please advise.
    Megha

    I tried what you suggested..
    Well I run into different error now while refreshing report suing dynamic prompt.
    Error says 'List of Values failure: fail to get values.[Cause of error:Failed to the connetion.ProductName]
    ProductName is my dynamic Parameter.
    Please advise.
    thanks
    Megha

  • Assigning a password to PDF, using dynamic value from query

    I have a report that bursts through bi publisher, and i would like to dynamically protect each pdf that is generated by using something that is unique to the report, like an office id from the query. I know how to set a static password from the template properties, and i understand how to use the api if i wanted to write my own routine to run the report, i just dont want to do that. i just want to dynamically set the password, while the job runs inside the bipublisher environment as a scheduled job. can this be done? are there ways to embed java api calls/code in the report and have it run inside bipublisher, instead of having to call a webservice?

    You have to do the same way you do for static password,
    instead of typing the password, you refer an element from xml or concat some elements and form a password.
    {/fromROOT/password}

  • Dynamic UserID/Password for file Adapter

    Hi,
    How to use dynamic UserId/Password for file adapter ?
    (Sender/Receiver)
    In our case the Id/Pwd of FTP Site changes freguently.
    Can anyone help.
    Thanks in Advance
    Regards
    Chemmanz

    Hi Chemmanz,
    >>>>In our case the Id/Pwd of FTP Site changes freguently.
    but do you have those passwords in the message payload?
    if not then you will still have to fill it somewhere right?
    BTW
    the only way would be to use java proxies and write a simple ftp adapter inside it (or your own adapter)
    but this is not possible in standard I believe
    Regards,
    michal

  • Dynamic parameter selection from infoview not storing the sql password

    We are having the problem of dynamic parameter selection from infoview not storing the sql password as it does for the actual report. We are using Crystal Reports XI Release 2 version 11.5.3.438 (Not sure of SP level, asked in separate thread).
    To be more specific.
    We have created a report that dynamically populates the parameters of the report by pulling the records from the Informix sql database and allowing selection from there.
    In the Central Management Console for the report object we have set as follows:
    Process - Database:
    Use original database logon information from the report - the sql username and pw etc
    Use same database logon as when report is run
    Process - Parameters
    In selecting a default selection there is the option to put in the sql password, however, this does not stick and clears after update.
    As such the end result is that every time this report is run from infoview and a user chooses a parameter (there are 5), crystal goes through some timeout for about a minute or so and then requests the sql password, if a user then selects the next parameter, the same timeout and password dialog appears.
    We need the crystal report to handle to the sql password for fetching the parameters as well as for the database section of running the report, however, the parameters insists on the end user always putting the password in.
    This is 100% replicatable on our system.
    Any way that we can fix this?
    Will an update fix this issue? If so could you please advise which one?
    Thanks

    Hi,
    I am having the exact same problem. Any help?
    And what does "Use same database logon as when report is run" mean? For me that would be that no prompt is needed for getting values in a dynamic parameter...
    Regards
    Magnus

  • Dynamic Parameter Prompting for Database Connection Password

    Post Author: rsharp
    CA Forum: Publishing
    Hi
    I've been finding recently that reports using dynamic parameters and published into Crystal Server prompt for the database connection password when the dynamic parameter is accessed.  Thing is, this only started happening recently for new and already existing reports with dynamic parameters and I don't know why.  In Crystal Reports the dynamic parameter can be accessed without a database connection prompt being displayed but not after publishing.  (Maybe there's a problem with the Publishing Wizard?)  Static parameters work just fine just as they always have, but I'm a bit mystified by the fact that dynamic parameters used to work (without prompting) but now they don't.  Any advice or opinion would be much appreciated.

    Post Author: amr_foci
    CA Forum: Publishing
    from the CMC you have to set the default connection or wat connection should this report use,
    go to this report in CMC, click process tab, and check the connection

  • Dynamic Parameter Prompting for Database Connection Password When schedulin

    I'm having problems with Dynamic Parameters when I try to schedule a report in InfoView.
    I create the report in Crystal Reports XI and publish it to the Crystal Server. I go into CMC and under Process:Database set the correct data source and enter the server, database, user and password.
    When the report is run I can choose a dynamic parameter and the reports runs fine - it's when I try to schedule the report and choose the parameter that I am asked to enter the user and password for the database.
    If the parameter is static it's fine and I don't get prompted. Because I want the end-users to schedule their own reports I need to have the user and password embedded in the report.
    From what I've read in the forums, there seems to be a lot of issues with dynamic parameters and database logons, and no real solutions. But this is just weird that it's only failing when I try to schedule the report!

    I am having the same issue. 
    Issue started on 9/25/2008
    Existing BO 11r2 installation including service pack 2
    Windows Server 2003 Service pack 2
    Existing scheduled reports do not exhibit this behaviour and run correctly.
    Add new or update existing report. Log into the CMC as administrator and set process for database and parameters.
    Exit CMC
    log into Infoview.  Click on report and run (as administrator OR as existing user with permissions) NO PROBLEM.
    Log into Infoview as Administrator or existing users with permissions) as attempt to schedule report.  All reports Any dynamic parameter and request for user name and password opens.  Once the correct info is entered the report can be scheduled.
    This is a new issue on our installation, we have been running without problems for over a year.
    Any help appreciated.

Maybe you are looking for

  • I can't add a entry in a shared calendar on iCal (Mountain Lion) but on iPhone it is ok

    My Partner is sharing her business calendar with me. (view and edit) In the past I was able to add calendar enties on my MacBook, iPhone and iPad. Since a couple of days, I can do this only on the iPhone & iPad but not on the Macbook Pro. (Mountain L

  • Unable to install Itunes on Windows 8

    Unable to install Itunes on Windows 8. It states Errors occured during installation. Your system has not been modified, and does not fully down load. I have tried :- Uninstall Itunes and then reinstall Uninstalled Itunes then connect Iphone to comput

  • Is it possible to add a Graph in the Teststand Labview OI

    Is it possible to add a graph to the Labview OI so that data can be passed up via the sequence context? Would posting a UI Message be the right way to trigger the graph to update? I'm not sure how to do this since the graph is not a UI control. Has a

  • Oracle Forms Installation

    Hi All, I have a basic doubt regarding the installation of Oracle Forms & Reports. I already have an Oracle 10g database installed on my system, now in my trial for installing Oracle Forms and Reports, I am downloading the Oracle Developer suite 10g

  • Using different themes on different pages?

    Is there a way to use a different theme on different pages in a Keynote presentation? So, maybe one look on one slide and another on another slide?