Problem to move user in LDAP with the function DBMS_LDAP.rename_s

Hello,
I want to move a user in Active Directory, but this function i can only change his "cn". And when I use an invalid DN I have no error.
My syntax is:
retval := DBMS_LDAP.rename_s ( emp_session, my_dn,'cn=nom prenom', 'OU=test,DC=XXX,DC=org', 1, NULL, NULL );
The value of my_dn is :'CN=nom prenom,OU=COMMUNICATIONS,OU=DIRECTION GENERALE,OU=test,DC=XXX,DC=org'
And 'OU=test,DC=XXX,DC=org' is the new DN, but the user don't move...
What is the problem????
How can I move a user in LDAP with DBMS_LDAP?????
Thanks you very much,
Matthieu.

If I use only the -N option without -R option
ex:ldapmoddn -p 389 -h 190.57.160.24 -D "CN=administrateur,CN=USERS,DC=xxx,DC=org" -w xxx -b "CN=a,OU=test,dc=xxx,dc=org" -N "dc=xxx,dc=org"
I have this error:
"ldap_rename_s: Protocol error
ldap_rename_s: additional info: 00000057: LdapErr: DSID-0C09080A, comment: Error in attribute conversion operation, data 0, v893"
Can you help me please?????
Matthieu

Similar Messages

  • Problems with the function RFC_GET_TABLE_ENTRIES

    Hi experts,
           We have a external application named P-Synch that is used when a user needs to change or unlock their password on our SAP system. The problem we are presenting is that in our PBP system the application is working fine but in our BW and XI environment when the P-Synch application call the function RFC_GET_TABLE_ENTRIES in SAP it can't take the result of the field 'expiration_date' because for some reason the output for this field is not in the same position that is in the PBP system.
    Example:
    This are the output that we receive in the environments with the function RFC_GET_TABLE_ENTRIES :
    PBP:
    000001ú320020401*99991231*AESSUSER
    BWP:
    0000200408039999*1231AESS*USER
    As you see in PBP P-Synch can take the expiration date (in bold) in the correct position '99991231'.... but for some reason in BWP the function present the expiration date in the incorrect position '1231AESS', for that reason the P-Synch application can't change or unlock the user of a person because terminate with error with the expiration date.
    Exist a way that I can fix this?
    Thanks a lot!
    Edited by: Carlos Mercado Aponte on Oct 16, 2009 3:42 PM

    Hello Carlos,
    Few days back i also faced some problem with the RFC_GET_TABLE_ENTRIES.
    May be you can try with RFC_READ_TABLE instead. Not much difference in the way you call the 2 FMs. From my experience i can tell, RFC_GET_TABLE_ENTRIES returns some garbage characters which RFC_READ_TABLE does not.
    For details refer to this [link|RFC_READ_TABLE v/s RFC_GET_TABLE_ENTRIES;.
    BR,
    Suhas

  • Sir, the subject is, I do not know the original owner Will helped me know that the owner or on the way to end this problem, or any way to communicate with the person in question

    Sir, the subject is, I do not know the original owner Will helped me know that the owner or on the way to end this problem, or any way to communicate with the person in question

    This is a user to user forum.  You are not addressing Apple.  It appears that you may be having issues related to Activation lock: ( http://support.apple.com/kb/PH13695).  If you cannot contact the original owner to have them remove activation lock, you should return the device for a refund.
    HTH

  • Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    in OIM 11g R2
    Message was edited by: 2b3c0737-074f-48d0-a760-e24e3ed9a37c

  • I cannot play the m4v movie (Linear)  I downloaded with the U2 album "No line on the horizon". I have the latest versions of itunes and quicktime. I have a windows 7 computer. Can you help.

    I cannot play the m4v movie (Linear)  I downloaded with the U2 album "No line on the horizon". I have the latest versions of itunes and quicktime. I have a windows 7 computer. Can you help.

    Hi whatisitagain, 
    Thank you for participating in the Apple Support Communities. 
    If the movie you downloaded from the iTunes Store is not playing in iTunes for Windows, start with the troubleshooting tips in this article:
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues - Apple Support
    All the best,
    Jeremy 

  • Error thread java : problem with the function "resume 0x***"  (forum sun)

    One problem with the function of jdb occured when I tried to use it to
    pilot the processor with differents threads. In fact, I use a simple example with 2 threads.
    I stop the two threads with two breakpoint, and I want to resume one or the other (with the function "resume 0x****"), the one wich I resumed stop again on the breackpoint and I decide again to resume one or the other. All of that to obtain a tree of execution.
    I give you the code of the class and the code of jdb.
    CLASS: (it's just a object Room with a variable degre that I increment and decrement with two threads increase and decrease)
    public class Test{
         public static void main(String[] args){
              Room r = new Room();
              decrease de = new decrease(r);
              increase in = new increase(r);
              de.start();
              in.start();
    class Room {
         private volatile int degre=20;
         public void more(){
         degre += 4;
         public void less(){      
         degre -= 3;
    class decrease extends Thread{
    private Room room;
    public decrease(Room r){
              room =r;
    public void run(){
    try{ 
         while (!interrupted()){ 
              room.less();
    catch(InterruptedException e) {}
    class increase extends Thread{
    private Room room;
    public increase(Room r){
         room =r;
    public void run(){ 
         try{ 
              while (!interrupted()){
                   room.more();
    catch(InterruptedException e) {}
    JDB:
    Initializing jdb ...
    stop at Test:7Deferring breakpoint Test:7.
    It will be set after the class is loaded.
    runrun Test
    Set uncaught java.lang.Throwable
    Set deferred uncaught java.lang.Throwable
    >
    VM Started: Set deferred breakpoint Test:7
    Breakpoint hit: "thread=main", Test.main(), line=7 bci=30
    7 in.start();
    main[1] stop at room:16
    Set breakpoint room:16
    main[1] stop at room:20
    Set breakpoint room:20
    main[1] resume
    All threads resumed.
    >
    Breakpoint hit: "thread=Thread-0", room.less(), line=20 bci=0
    20 degre -= 3;
    Thread-0[1] threads
    Group system:
    (java.lang.ref.Reference$ReferenceHandler)0x10d Reference Handler cond. waiting
    (java.lang.ref.Finalizer$FinalizerThread)0x10c Finalizer cond. waiting
    (java.lang.Thread)0x10b Signal Dispatcher running
    Group main:
    (decrease)0x146 Thread-0 running (at breakpoint)
    (increase)0x147 Thread-1 running (at breakpoint)
    (java.lang.Thread)0x148 DestroyJavaVM running
    Thread-0[1] resume 0x147
    Thread-0[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] print degre
    degre = 24
    Thread-1[1] resume 0x146 //It's here the problem, thread 0x146 have to stop on the //next breakpoint of decrease but nothing happen
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] clear
    Breakpoints set:
    breakpoint Test:7
    breakpoint room:16
    breakpoint room:20
    PS: I tried many other examples with other class and other kind of breakpoints, but, in any cases, on thread doesn't manage to resume. When I try with general resume (no specification of the thread), It works but it isn't interresting for me because I want to decide wich thread continue his execution.

    Hi,
    I have read the FAQ of the JMF.
    The problem was the jar files of the JMF were not in the JRE\BIN\EXT
    folder of the Java runtime!
    now it works!
    thanks
    Reg

  • Problem setting up user ids to use the Oracle password file.

    I want to set up my database users so that a password file is used for connecting to the database.  I have completed these steps successfully.
      BTW - DB is 11.2.0.3 on AIX power 64
    1.  Created the password file for the database using the orapwd command.  Allowing 20 entries.  Confirmed the file was created in the $ORACLE_HOME/dbs directory
    2.  Created a database user, sbrower
    CREATE USER SBROWER IDENTIFIED BY <password> DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK ;
    GRANT DBA TO SBROWER;
    ALTER USER SBROWER DEFAULT ROLE ALL;
    GRANT UNLIMITED TABLESPACE TO SBROWER;
    ALTER USER SBROWER QUOTA UNLIMITED ON USERS;
    3.  Connected to the database as SYS and granted sysoper to SBROWER
    4.  Using putty, ssh'ed into the server where the database resides.
    5.  Set the oracle variables (ORACLE_HOME, ORACLE_BASE, etc.) and PATH
    6.  Was able to connect to the database using sqlplus / as syoper
    THE PROBLEM
      For another user, EA_RDX_ORACLE1, I follow the same steps (2-6) bu when I execute step 6, it does not allow the connection
    ERROR:
    ORA-01031: insufficient privileges
       but, if I use sqlplus ea_rdx_oracle1/thepassword as sysoper it works
    Looking at v$pwfile_users on the database:
    USERNAME SYSDBA   SYSOPER      SYSASM
    SYS      TRUE      TRUE      FALSE
    SBROWER  FALSE     TRUE      FALSE
    EA_RDX_ORACLE1 FALSE TRUE FALSE
    3 rows selected.
    There is one thing that is different for the ea_rdx_oracle1 id's:
    - The users who use this id, use a took called CyberVault to check out the id.  The password for the id changes each time the id is checked out; however, the way the id is set up on the DB servers, us user does not have to enter the password when they log in (ssh).
    I have sent an email to our unix admin asking his how the id was set up so that it can ssh into the server.  It is not included in the list of users in any group in the /etc/ogroup file and it is not included in the /etc/opassword file.

    The OS authentication ( sqlplus / as sysdba ) does not require the password file.
    The problem may be related to the OS user you are connecting to that server - it is not a member of OSDBA group ( usually DBA ).

  • Facing problem in integrating my custom jsp with the workflow engine

    Hi,
    I am using Jdeveloper 11.1.1.6.0 for BPM 11g implementation on my Application.I have Weblogic Server 10.3 Installed and configured the domain. Also the server is up and running.
    I am trying to create workflow and wants to integrate it with my custom jsp but i am facing problem in integrating my custom jsp with the workflow engine.Can you please answer the following questions:
    1)how to link BPM human task with my custom jsp (Requester jsp).
    2)how my custom jsp data(Requester data) will be stored in workflow engine and how the same data will be visible to the next custom jsp(Reviewer jsp).
    This is urgent .Any early reply will be great help.
    Thanks in advance.
    Edited by: 990133 on Mar 24, 2013 5:31 AM

    you forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
    Cheer,
    Appa

  • Problem with the function module SO_DOCUMENT_SEND_API1

    Hi Friends,
    I am facing the problem wiht the function module SO_DOCUMENT_SEND_API1,
    My actull requirement is : - i need to send the sap data to my externa mail id (Like as XYZ@) with out the any attachment , So i have implemented the code with the function module SO_DOCUMENT_SEND_API1.
    The mail has successfully sent the sap inbox (SOST) but the mail are not reached to the external mail ID'S( XYZ@GMAIL)
    i Have maintained my code lines same as below.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data = wa_doc_data
          put_in_outbox = ca_x
          commit_work   = ca_x
        TABLES
          packing_list  = tb_packing_list
          contents_txt  = tb_mailbody
          receivers     = tb_receiver.
    Can you please tell me soultion ,
    Thanks
    charan.

    Hi charan,
                      If u r able to see the mail in sost, then i think ur code has worked fine. if the mail is not going to outside domains from sost u need to do some configurations for that, u can find lots of configuration docs regarding mail setup in sap.
    once try to pass below parameter also.
    t_receivers1-rec_type = 'U'.
    For configuring mail setup u need to sit with ur basis guy.
    Moderator message: please do not use SMS speak.
    Edited by: Thomas Zloch on Nov 23, 2010 5:51 PM

  • Map the user exit variables with the queries/cubes using them

    Hello Friends,
    What are the post unicode conversion tests that you can perform on front end/existing queries?
    is there any added advantage for queries due to unicode?
    is testing the working of variable  enough? is there any table to map the user exit variables with the queries/cubes using them?
    Thanks
    Tanya

    Guys, any clue about this? Answer are appreciated.
    Thanks
    Tanya

  • Copy a folder from one user to another  with the enterprise SDK

    Can anyone tell me how to copy a request in "My favorites" from one User to another with the enterprise SDK ?
    thanks in advance
    a great day to you'all
    Quentin

    Please post this query to the .NET Development - BusinessObjects Enterprise forum:
    .NET SDK Application Development
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all BOE queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding,
    Ludek

  • Is the User library gone with the release of Lion?

    Is the User library gone with the release of Lion?
    Used to have ~/Library and Mac HD/Library.

    It's still there, just invisible.  You can find it by holding down option and clicking the Go menu in the Finder (a Library item will appear that goes to your user Library folder).  Or you can run the following command in the Terminal to turn it visible again:
    chflags nohidden ~/Library
    The Library folder at the root level of your hard drive should still be there and visible.

  • HT3775 i am trying to watch a movie on Quick time with the extension .FLV and it will not play. I updated my flash.

    i am trying to watch a movie on Quick time with the extension .FLV and it will not play. I updated my flash. any suggestions?

    Some other programs you can try.
    Video Player - Divx
    Video Player – Flip4Mac
    Video Player - VLC

  • How do you setup a user mobile account, with the home directory stored locally and not synced to the server?

    I want to be able to setup a user mobile account, with the home directory stored locally and not synced to the server.  What is the best way to do this? I am running Server 10.6 with 10.6 clients.  Open Directory will be used to authenticate and manage preferences.   Also, this one account will be used simultaneosly in a computer lab setting, so files will be stored locally in the client, hence the need to NOT sync to the server.  Any Ideas? 

    currofelix wrote:
    So what does WGM Look like in the Home Tab? afp://servername.domainname/Users? or afp://Users?
    The attached screen shots should help you:
    You will only have to do this step once. Obviously you want to use the user's shortname here.
    Then, you will see this as an option in WGM:

  • I just reset my computer and my itunes account is not allowing me to do anything unless i answer my security questions. the problem is i never supplied them with the answers they are asking.i don't know what to do!!!

    i just reset my computer and my itunes account is not allowing me to do anything unless i answer my security questions. the problem is i never supplied them with the answers they are asking.i don't know what to do!!!

    https://expresslane.apple.com/Issues.action

Maybe you are looking for

  • Issues with Hosted Exchange, UM and Lync 2013.

    Hello everyone! I am trying to deploy UM with Office 365 Hosted Exchange. We are using one Lync 2013 Standard Edition FE and have deployed one edge server. We have set up our firewall to host the Reverse Proxy. We do not use wildcard certs. External

  • Different ways to copy data between two schemas in one instance

    Hi there, I am searching a good way to copy data between two schemas in the same instance. Both schemas have an identical structure such as triggers, tables, views and so on. The only difference is the purpose: one is the productivity system and one

  • Time out error in oracle reports--very urgent

    Hi I have this oracle report on 9i which calls 14 other reports and runs them via a wrapper report which I run from a URL However I get this engine null crashed error or else Engine rwEng-0 is destroyed due to timeout error. From what I understand th

  • Redaction problem - when applied, boxes are created on all other pages

    We are redacting PDFs converted from PowerPoint. When we apply redactions, a block of color the same size and location of each redaction appears on every page. There is no background on the documents. I created redactions of different colors, and tho

  • Customer Returns for Excisable Finished materials RG1 registers update

    Dear Experts, Ours is an Excisable Plant. The Normal Sales to Invoice process runs fine. When it comes to Customer Returns, kindly help me in understanding the process in receiving the Excise material. Right now, i'm doing the following, 1. Create Re