How can we update data in LDAP server using PL/SQL.

Hi,
How can we update data in LDAP server using PL/SQL program.
Is there any sample code for refrence.
Thanks,
Tarun

Hi Justin,
Thanks for your help. You got my correct requirements.
Tim's example returning all the attributes of current user which is admin user. Please correct me if I am wrong.
I have the following information:
the admin user and password,server info , port and ldap_base for admin.
I have uid and password for regular user, I am trying find the ldap_base for regular user, which may be different from adminuser.
Please help me.
Thanks,
Edited by: james. on Jan 12, 2009 5:39 PM

Similar Messages

  • How can i update data in okc_k_items and csi_item_instances tables?

    How can i update data in okc_k_items and csi_item_instances tables?
    by EBS .
    Thanks.

    For csi_item_instances table, you can use the following API:
    CSI_ITEM_INSTANCE_PUB.UPDATE_ITEM_INSTANCE
    For okc_k_items, try using the following API:
    OKC_CONTRACT_ITEM_PUB.UPDATE_CONTRACT_ITEM
    Hope this helps!

  • How can I configuration MBean in weblogic server  using the console ?

    How can I configuration MBean in weblogic server using the console ?
    I hear people talking about mbeans in weblogic server I have look in the console I can not find where , or how to do it.
    can some body explain that or a link that explain it, how to do it on the console ?

    Hi,
    Registering Custom MBeans from Admin Console is not yet possible. But yes there are ways to Configure and Utilize Custom MBeans ...
    http://weblogic-wonders.com/weblogic/2010/02/16/registering-and-invoking-custommbeans/
    Thanks
    Jay SenSharma

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • How can i update data in JTable at run time ?

    i am trying to build a client/server architecture for conducting quizzes & online tests.. My client will return a object to the server after the test is over, which contains details about the participant, his score and other details. i am putting the incoming object to an Vector. I'll create a new thread each time for the incoming connection and insert the object to the Vector.. Now, please tell me tat, how can i update my table automatically at run time so tat, my table is updated whenever a new object is entered into vector..
    here is my code for the table..
    public class MyTableModel extends AbstractTableModel {
        String columNames[] = { "ID", "NAME", "COLLEGE", "SCORE", "CELL" };
        /** Creates a new instance of MyTableModel */
        public MyTableModel() {
            Main.List = new Vector();
            SetDefaultData();
        public int getRowCount() {
            return Main.List == null ? 0 : Main.List.size();
        public int getColumnCount() {
            return columNames.length;
        public String getColumnName(int column) {
            return columNames[column];
        public boolean isCellEditable(int row,int col) {
            return false;
        public Object getValueAt(int rowindex, int columnindex) {
            if(rowindex < 0 || rowindex >= getRowCount())
                return "";
            Student row = (Student)Main.List.elementAt(rowindex);
            switch (columnindex)
                case 0 : return row.id;
                case 1 : return row.name;
                case 2 : return row.college;
                case 3 : return row.score;
                case 4 : return row.cell;
            return "";
        public String getTitle() {
            return "Student Table";
        private void SetDefaultData() {
            Main.List.removeAllElements();
            Main.List.addElement(new Student("CS041","Keerthivasan M","MNM",95,"9884326321"));
            Main.List.addElement(new Student("CS012","Arun M","MNM",90,"9884825780"));
            Main.List.addElement(new Student("CS019","Balaji S","MNM",79,"9841742068"));
            Main.List.addElement(new Student("CS005","Anand R","MNM",89,"9884130727"));
            Main.List.addElement(new Student("CS045","Manish J","MNM",55,"9841624625"));
            Main.List.addElement(new Student("CS013","Mangal S","MNM",5,"9841961742"));
    }

    In the future Swing related questions should be posted in the Swing forum.
    how can i update my table automatically at run time so tat, my table is
    updated whenever a new object is entered into vector..You don't update the Vector directly. You should be creating a method in your TableModel, called "addRow(...)". This method will do two things:
    a) add the Student object to the Vector
    b) invoke the fireTableRowsInserted(..) method of AbstractTableModel. This will cause the table to be repainted.

  • HT4972 how can i update my iphone4 to ios5 using my iphone4

    how can i update my iphone4 into ios 5?

    Plug your phone to your pc open itunes and itunes should automatically detect that you need an update.
    NOte you should backup your phone prior to doing the update.

  • How can i update data of DSO and Cube using ABAP??

    Hello Experts
    I have a requrement in which i need to update/ delete data from DSO and cube based on certain keys using ABAP.
    Please let me know how can i modify contets of cube or active table of DSO.
    Thanks
    Sudeep

    Hi
    I have requirement such that i need to update certain key figures in DSO after certain time.
    for eg. say record with key a is loaded to DSO and currospoding key figure was loaded with value 10
    after few days because of certain parameters changing in system i need to modify key figure value.
    currently i am doing same using 1 self transformation i.e. by loading same data again in same DSO.
    Amount of data is very huge and causing performance issues in system.
    now A is not key but i need to modify record for few combinations which apperar multiple times in DSO.
    Same DSO data is loaded into Cube regularly.
    I may need to update data after gap of few weeks as well.
    This design will be used as template and needto keep whole logic generic.
    So wring Function module can make it generic.
    Thanks
    Sudeep

  • How can I update data fields in a merged document ?

    Hi,
    I'm looking for a way to update the values of data fields in a merged document with a script just as you can do with the user interface.
    I don't find any method like "updateDataFields ()" in the DataMerge object.
    Si I try to invoke the menu action "Update Data Fields", but it fails. The script error message is: "Error 53762, the script is not active." On the contrary, the action works if I use the interface.
    Can anyone help me?
    Thanks in advance,
    FredIsnard
    PS : I work with CS5.5 and JavaScript.

    Hi!
    You might be looking for this one:
    DataMerge.mergeRecords (outputOversetReportFile: File )
    Merges records and produces an optional overset report.
    outputOversetReportFile: Data Type: File
    The path to the file in which to store the overset report. (Optional)
    Best regards,
    Andreas

  • How can I authenticate to a XI server using java via SOAP (SAAJ)

    Hi everybody!
    I need to connect (SOAP) to a XI server using JAVA
    I'm using SAAJ api.The problem is XI server need authentication but I can't found the way to do it! this is a part of code
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnFactory.createConnection();
    URL destination = new URL("https://host:port");
    SOAPMessage reply = connection.call(message, destination);
    (message is the XML code)
    but the application has the following error:
    com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    GRAVE: SAAJ0009: Fallo en el envío del mensaje
    I think, maybe is a authentication problem, because the XI server needs it. But I don't have idea how can I send the user and pass
    Any IDea???? please
    the libraries are ok imported, I use netweaver to develop-
    thanks in advantage

    hi Leslie,
    there are only a few of these errors,
    you can try this:
    http://www.oxygenxml.com/forum/ftopic1103.html&sid=0abee8c719481a3dd783ff7d5cd84105
    are you sure your URL is accessible from your location?
    you may also check:
    http://www.google.pl/search?hl=pl&q=HttpSOAPConnectionpostSAAJ0009%3A&lr=
    Regards,
    michal

  • I can't get at my LDAP server using JMQ 1.1.  What's wrong?

    I have jmq 1.1 running on solaris. We have recently installed an ldap server on another box to provide access for jndi. I am trying to run the
    jmqconfig program to add topic by issuing the following command ...
    /opt/SUNWjmq/bin/jmqconfig -a -t t -n "cn=myTopic" -o "name=This is my Test Topic" -o "host=apollo" -o "subnet=5" -i "com.s
    un.jndi.ldap.LdapCtxFactory" -u "ldap://e-rewards.com:389/o=dev.e-rewards.com" -s simple -p "uid=devadm, o=dev.e-rewards.co
    m" -c dev999
    I am getting this message...
    Error: You have problems with access control. Please verify that
    your jmqadmin.policy file is setup properly.
    Can you tell me what I need to do to the jmqadmin.policy file to make this work?

    It looks like there is a CommunicationException while trying
    to talk to the LDAP server. Please check the SocketPermission
    entry in the jmqadmin.policy file to ensure network permission
    to the LDAP server host/port is granted. If the jmqadmin.policy
    file looks OK, I'd suggest to try a simple JNDI example which
    talks to the LDAP server to see if communication to the LDAP
    server is fine by using a similar java.security.policy file
    as jmqadmin.policy (please see JMQ 1.1 QuickStart guide chapter
    4 for more information on security policy files).
    Please note that iMQ 2.0 (formerly named JMQ) has been released

  • How can i access gmail's smtp server using java mail api

    i m using java mail api to access gmails pop and smtp service to receive and send mail from ur gmail account. I m able to access gmails pop server using the ssl and port 995 , but i can not use its smtp server to which i m connecting using ssl on 465 port. It requires authentication code.
    if anybody can help me in this regard i m thnkful to him/her.
    thnks in advance.
    jogin desai

    Here's an example of using SSL + Authentication
    http://onesearch.sun.com/search/onesearch/index.jsp?qt=ssl+authentication&subCat=siteforumid%3Ajava43&site=dev&dftab=siteforumid%3Ajava43&chooseCat=javaall&col=developer-forums

  • HT202884 How can I update video codecs for iOS using code ?

    In reference to : OS X Mavericks: Some files may be converted when opened in QuickTime Player - Apple Support
    Is there a way to update video codecs for iOS, using code ?

    You could try finding somewhere with free WiFi like a coffee shop, shopping mall or fast-food places & downloading on their connection.

  • How can I Update Data Plan payment details?

    How do I edit the card information being billed monthly for the 3G service?

    Go to [http://www.att.com/ipad|http://www.att.com/ipad]. Click "Add Data Now" on the right. Logon to your account (or sign up if you don't have an logon. It's free.) Click "Edit User & Payment Information."

  • OWB: how can automatic updation  perform in staging database using OWB

    I am using OWB-etl to fetch data from source database and store to staging db.
    in target table operator i am using insert operation.
    it is inserting data fien.
    but my requirement is target database must be automatically updated with what ever modification made to source data base.
    can u pls help me how to achive this ?
    Thanks alot ...
    k azamtulla khan

    Hi,
    why do you want to do this using OWB, is it not easier to create a before/after insert/update trigger on source table so that your target table is updated automatically. You can benefit by using owb in scenarios where you need to transform and load data and then schedule this process and for the rest of it i would recommend using triggers for row level activities such as update.

  • How can I update multiple rows in table using a single form button and checkboxes

    I have a project where the visitors can select multiple productos and once the click on the PURCHAS button it updates the selected records.

    You have not mentioned the programming language that you are using, but here's a link that could help you if you are using ASP.
    http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple-records-gridview-checkbox.html
    Also, have a look at this discussion thread
    http://forums.asp.net/t/1470882.aspx

Maybe you are looking for

  • ITunes deleted apps from my touch

    Coincidental or not, before syncing my touch I upgraded the OS to 3.1.1. Previously my iTunes wasn't backing up my apps; my touch is a couple weeks old, and I hadn't set up iTunes to do so. Tonight I set up iTunes to back up the apps. When I synced,

  • JDBC and MS SQL Server support

    Hi everyone, I'm using JDBC to access a MS SQL Server DB. To be more precise, I tried both the MS JDBC SQL Server driver as well as jTDS. Here's the question: I'm using scrolling and committable cursors. My application could definetely make good use

  • SAP transaction enabled by speech recogition

    hi i'm looking into possible ways of approaching to an requirement that would enable users to perform transactions in the SAP GUI by giving commands (may be via voice recognition). I tried to check for materials that could help me to start with but u

  • How to disable Guided Access in ios 6.0?

    I am a secondary teacher and my students are using iPads in the classroom. I have tried IOS 6.0 and find that Guided Access is useful in some sense. However, I worried that if the Guided Access function is enabled by students, then how teacher/IT sta

  • Unsolicited Contact requests

    I am getting a lot of these lately and continue to block them and report them but I am not convinced that any action is being taken - whats going on - does anyone know??