Rename an LDAP entry and all child

I have an entry in an LDAP tree with the dn
dn=ou=Customer, c=country, o=Company
This entry has some child entries. Now I want to rename
this entry from ou=Customer to ou=Customer_1 and the children
should move to the new ou.
Does anyone know how I can do this with the LDAPv2 protocol ?
Java: 1.4.1_02
LDAP: Sun Directory Server 5.x
Thanks

Hello Matt,
I found an example to do this thing without the move command.
It is a recursive function. The function do the following:
- copy entry from old URL to new URL
- search for subentries of the old URL and call this
function with old and new URL of all subentries.
- delete the old URL
Thats all.
The move command is only implemented in some LDAP servers, so I can
not use this.
Regards,
Volker

Similar Messages

  • How do I delete an LDAP entry and all of its child entries via PL/SQL

    I need to be able to delete (via PL/SQL) an entry and all of its child entries on my OID LDAP Server. None of the the procedures in the provided DBMS_LDAP package seem to bable to do this. For example, the delete_s procedure can only delete entries that are leaf nodes (no children). This will not work for me.
    I realize that I can execute the bulk delete shell script to do this, but this is via the command line, not PL/SQL.
    While I think I could write some PL/SQL code to parse through each entry using the "search_s" procedure and delete them one by one using the "delete_s" procedure, this doesn't seem very efficient. It seems like this should be a fairly common request and Oracle should have already addressed it.

    Sorry, to be clear, it's form fields on a web page that bring up all previously entered information.... I want to deleted some of these individually, but not all

  • HT4767 Installed "Lion" and lost all calendar entries and all documents.  A little assistance pls.

    Installed "Lion" and lost all calendar entries and all documents.  A little assistance pls.

    Installed "Lion" and lost all calendar entries and all documents.  A little assistance pls.

  • Need to delete data from main table and all child tables ...

    hi all,
    i need to delete rows pertaining to perticular table and all the child
    tables basing on certain code.i need to write a procedure to which i will
    pass the table name and code..
    like del_info(tab_name,code)
    example:
    suppose if i call as del_info(clients,760)
    the procedure should delete all info reg. code 760
    and the table clients and also all the child records of this table
    perting to code 760.
    simply .. i need to delete from the table passed and also
    all the child tables down the heirarchy regarding certain code ...
    help ???
    Ravi Kumar M

    Hi,
    Depends how you defined referential integrity.
    You can use ON DELETE CASCADE, please read the next doc http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/clauses3a.htm#1002692
    Hope this help you,
    Nicolas.

  • TS2776 i've lost all my entries in my calendar. I was able to call them up with the magnifying glass icon . now it just goes to a search entry. and all my calendar/months have no entries. help please

    i've lost all the entries in my calendar.  i had been able to call them up with the magnifying glass list function, but now it only opens a search function and all my calendars/ entries are blank.  help please

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • Push SAP passwords to all child systems

    Hi,
    I use IDM 8.0 to connect a CUA.
    Has anybody been able to push IDM password to CUA and all child systems (ECC, BI, SAP Portal, Solution Manager...) ?
    I can only change password on the CUA but not on the child systems the users have access to.
    When I change a user password in IDM, I can see in SAP logs that the password is changed in the CUA (if the user has access to the CUA, which is not the case for all the users) but instead of changing the user password in the child systems it only try to unlock it (which is useless).
    Any help ?
    Thanks,
    Ben

    For your information, looks like it was a bug corrected in IdM 8.0 patch 8.
    I didn't try it so I can't confirm it works now.
    Ben

  • How can I delete ALL of my Address Book entries and start fresh?

    Yes. I know that sounds extreme, but……
    I use Outlook on a PC at my office, and I have an sbcglobal/Yahoo mail account. I look upon my office Outlook as my ultimate contacts list (over 1,100 entries) and my calendar.
    I use the sbc supplied free Intellisync software to sync all of my calendar and contacts from my office PC into sbc/Yahoo. That way I actually get e-mail reminders of appointments, etc. in addition to my Outlook notifications. It is actually pretty nifty.
    I have also successfully signed-on to my Yahoo account at home on my MAC and exported all of my contacts from Yahoo (which had been populated by the PC Outlook listings via Intellisync) onto my desktop and then imported them into Address Book. But I did that some time ago and now my Outlook listings have been updated rather substantially. I would like to able to do a complete re-install of the new and improved contacts from the Yahoo repository.
    Again - I certainly do not want to delete the Address Book app itself – I just want to start with a clean slate so there are no conflicts or duplicate entries (which in fact is seemingly a bug in the Yahoo/Intellisync. Is there a way to completely wipe clean all of my Address Book entries?
    Thanks
    Theo
    G4 (FW800) Mirrored doors Mac OS X (10.4.8) Dual 1.42GHz; 1.5GB DDR SDRAM; 20" HD Cinema Display; iSight;

    Hello Allan -
    Your help on a previous post was great re: my wanting to know how to delete the Address Book contents so I can re-import an updated list form my office Outlook, via my yahho/sbcglobal import.
    Well - here is an interesting quandary:
    I have successfully exported my yahoo address book/contacts as a .vcf file Yet - once I have expunged the prior Address Book data and want to now import the NEW Yahoo data to rebuild the database it only takes (enters) the phone numbers and does NOT import ANY of the address information. I am positive I did this once since our original exchange and everything transferred just fine, but now….?!
    What I cannot determine is where the fault may be: does the export NOT include the addresses (in which case I am doing something fundamentally stupid wit the export) or the vcf cards are complete, but Address Book is not “seeing” anything other than the phone #s and e-mail addresses.
    Any thoughts?
    Dazed and confused
    Theo

  • My husband and I both have iPads and somehow when they were setup the both we're setup using the same email I'd address. When I go to delete and rename one iPad it says all info and pictures will be erased from my iPad. Is there a way to keep the info iPa

    My husband and I both have iPads and somehow when they were setup the both we're setup using the same email I'd address. When I go to delete and rename one iPad it says all info and pictures will be erased from my iPad. Is there a way to keep the info IPad when doing this?

    You can go to Settings/iCloud and delete the account, then create a new iCloud account.  You can still use the same account for the app store though.

  • Stop and Play All Child MovieClips in Flash with Actionscript 3.0

    I am stuck with the ActionScript here. I have a very complex animated flash movie for eLearning. These contain around 10 to 15 frames. In each frame I am having multiple movie clip symbols. The animation has been created using a blend of scripting and also normal flash animation.
    Now I want to create pause and play functionality for the entire movie. I was able to create the pause function but when i try to play the movie it behaves very strange.
    I was able to develop the pause functionality by refering to the below mentioned links:
    http://www.unfocus.com/2009/12/07/stop-all-child-movieclips-in-flash-with-actionscript-3-0 /
    http://www.curiousfind.com/blog/174
    Any help in this regard is highly appreciated as i am approaching a deadline.
    I am pasting the code below:
    import flash.display.MovieClip;
    import flash.display.DisplayObjectContainer;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import fl.transitions.*;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    import flash.events.Event;
    import flash.events.MouseEvent;
    stop();
    // function to stop all movieclips
    function stopAll(content:DisplayObjectContainer):void
        if (content is MovieClip)
            (content as MovieClip).stop();
        if (content.numChildren)
            var child:DisplayObjectContainer;
            for (var i:int, n:int = content.numChildren; i < n; ++i)
                if (content.getChildAt(i) is DisplayObjectContainer)
                    child = content.getChildAt(i) as DisplayObjectContainer;
                    if (child.numChildren)
                        stopAll(child);
                    else if (child is MovieClip)
                        (child as MovieClip).stop();
    // function to play all movieclips
    function playAll(content:DisplayObjectContainer):void
        if (content is MovieClip)
            var movieClip:MovieClip = content as MovieClip;
            if (movieClip.currentFrame < movieClip.totalFrames) // if the main timeline has reached the end, don't play it
       movieClip.gotoAndPlay(currentFrame);
        if (content.numChildren)
            var child:DisplayObjectContainer;
            var n:int = content.numChildren;
            for (var i:int = 0; i < n; i++)
                if (content.getChildAt(i) is DisplayObjectContainer)
                    child = content.getChildAt(i) as DisplayObjectContainer;
                    if (child.numChildren)
                        playAll(child);
                    else if (child is MovieClip)
                        var childMovieClip:MovieClip = child as MovieClip;
                        if (childMovieClip.currentFrame < childMovieClip.totalFrames)
          //childMovieClip.play();
          childMovieClip.play();
    function resetMovieClip(movieClip:MovieClip):MovieClip
        var sourceClass:Class = movieClip.constructor;
        var resetMovieClip:MovieClip = new sourceClass();
        return resetMovieClip;
    pauseBtn.addEventListener(MouseEvent.CLICK, onClickStop_1);
    function onClickStop_1(evt:MouseEvent):void
    MovieClip(root).stopAll(this);
    myTimer.stop();
    playBtn.addEventListener(MouseEvent.CLICK, onClickPlay_1);
    function onClickPlay_1(evt:MouseEvent):void
    MovieClip(root).playAll(this);
    myTimer.start();
    Other code which helps in animating the movie and other functionalities are as pasted below:
    stage.addEventListener(Event.RESIZE, mascot);
    function mascot():void {
    // Defining variables
    var mc1:MovieClip = this.mascotAni;
    var sw:Number = stage.stageWidth;
    var sh:Number = stage.stageHeight;
    // resizing movieclip
    mc1.width = sw/3;
    mc1.height = sh/3;
    // positioning mc
    mc1.x = (stage.stageWidth/2)-(mc1.width/2);
    mc1.y = (stage.stageHeight/2)-(mc1.height/2);
    // keeps the mc1 proportional
    mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
    stage.removeEventListener(Event.RESIZE, mascot);
    mascot();
    this.mascotAni.y = 100;
    function mascotReset():void
    // Defining variables
    var mc1:MovieClip = this.mascotAni;
    stage.removeEventListener(Event.RESIZE, mascot);
    mc1.width = 113.45;
    mc1.height = 153.85;
    mc1.x = (stage.stageWidth/2)-(mc1.width/2);
    mc1.y = (stage.stageHeight/2)-(mc1.height/2);
    // keeps the mc1 proportional
    mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
    var interval:int;
    var myTimer:Timer;
    // function to pause timeline
    function pauseClips(secs:int, myClip:MovieClip):void
    interval = secs;
    myTimer = new Timer(interval*1000,0);
    myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
    myTimer.start();
    function goNextFrm(evt:TimerEvent):void
      myTimer.reset();
      myClip.nextFrame();
      myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
    // function to pause timeline on a particular label
    function pauseClipsLabel(secs:int, myClip:MovieClip, myLabel:String):void
    interval = secs;
    myTimer = new Timer(interval*1000,0);
    myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
    myTimer.start();
    function goNextFrm(evt:TimerEvent):void
      myClip.gotoAndStop(myLabel);
      myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
    MovieClip(root).pauseClips(4.5, this);
    // function to fade clips
    function fadeClips(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number):void
    var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, 0.5, true);
    fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    function fadeFinish(evt:TweenEvent):void
      next_mc.nextFrame();
      fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    // function to fade clips with speed
    function fadeClipsSpeed(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number, speed:int):void
    var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, speed, true);
    fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    function fadeFinish(evt:TweenEvent):void
      next_mc.nextFrame();
      fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
    // function to show screen transitions
    function screenFx(target_mc:MovieClip, next_mc:MovieClip):void
    //var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Iris, direction:Transition.OUT, duration:1.2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
    tranFx.addEventListener("allTransitionsOutDone",doneTrans);
    function doneTrans(evt:Event):void
      next_mc.nextFrame();
      tranFx.removeEventListener("allTransitionsOutDone",doneTrans);
    // function to show screen transitions inverse
    function screenFxInv(target_mc:MovieClip, next_mc:MovieClip):void
    var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.SQUARE});
    tranFx.addEventListener("allTransitionsInDone",doneTrans);
    function doneTrans(evt:Event):void
      next_mc.nextFrame();
      tranFx.removeEventListener("allTransitionsInDone",doneTrans);
    // function to zoom in
    function zoomFx(target_mc:MovieClip):void
    //var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Zoom, direction:Transition.IN, duration:3, easing:Strong.easeOut});
    //tranFx.addEventListener("allTransitionsInDone",doneTrans);
    /*function doneTrans(evt:Event):void
      next_mc.nextFrame();
    // Blinds Fx
    function wipeFx(target_mc:MovieClip):void
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Wipe, direction:Transition.IN, duration:3, easing:Strong.easeOut, startPoint:9});
    // Blinds Fx Center
    function fadePixelFx(target_mc:MovieClip):void
    var tranFx:TransitionManager = new TransitionManager(target_mc);
    tranFx.startTransition({type:Fade, direction:Transition.IN, duration:1, easing:Strong.easeOut});
    tranFx.startTransition({type:PixelDissolve, direction:Transition.IN, duration:1, easing:Strong.easeOut, xSections:100, ySections:100});

    This movie is an animated movie from the start to end. I mean to say that though it stops at certain keyframes in the timeline it stops for only a certain time and then moves on to the next animation sequence.
    Its not an application where the user can interact.
    On clicking the play button i want the movie to play normally as it was playing before. If the user has not clicked on the pause button it would anyhow play from start to finish.
    Is there anyway where i could send in the fla file?

  • I inadvertently typed in a wrong account number which now shows up in the Account # drop down box. Is there some way that I can clear this (or all) entry and still let Firefix remember search and form entry? Thanks Mike Callahan

    The Scottrade web sight requires an account number as well as a password to log in. I inadvertently typed in an incorrect number and would like to eliminate it from the 'remembered' accounts. My only solution seems to be to turn off Remember Search and Form Entry but that impacts the correct account numbers and all other web sites as well.

    Click the (empty) input field on the web page to open the drop down list
    Highlight an entry in the drop down list
    Press the Delete key (on Mac: Shift+Delete) to remove it.
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    Firefox/Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember search and form history"
    https://support.mozilla.com/kb/Form+autocomplete

  • Get and hide all child symbols

    I'd like to target all child symbol instances of my mT symbol and hide them.
    Something like this (except this doesn't work):
    childsymbols_d1 = sym.getSymbol("holder").getSymbol("d1").getSymbol("mT").getChildSymbols();
    for(var i=0; i<childsymbols_d1.length; i++){
              childsymbols_d1[i].hide();
    I don't want to use the timeline because I have a lot of child symbols, and would like to do this operation on several other symbols.

    i tried this and it works.
    I grouped the symbols in mT into a div called rect.
    sym.getSymbol("holder").getSymbol("d1").getSymbol("mT").$('rect').children().hide();

  • Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been usin

    Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been using adobe forms for 2 years with mass response feedback and have never had this problem.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • The buttons 'New entry' and 'Delete' disappear on all customizing t_codes.

    Hello All
    I want to define one new storage location, but I don't find the button 'New entry'.  After checking, I found that the button 'New entry' and 'Delete' disappear on all customizing transaction codes.   who know why?
    By the way, currently our system finished doing the conversion from non-unicode to unicode, do it affect ?  Pls advise!  Thanks!

    Hello All
    I know the reason.  that is we have 2 clients in customizings system , now the basis colleague are deleting one nonuse client. therefore the function of new entries and delete to those client-specific objects are inactive. After they finish deleting, the button will work well again.   Any way, thanks you!
    Edited by: pinknaive on Aug 11, 2009 8:28 AM
    Edited by: pinknaive on Aug 11, 2009 8:31 AM

  • What is the condition for using 'for all entries' and  why?

    what is the condition for using 'for all entries' and  why? can any body tell the reason for this ? its a big favour of me .
    regards,
    ravi.

    hi,
    for all entries is used to join two or more tables.
    It is same as join but performance wise for all entries is more effective.
    You can only use FOR ALL ENTRIES IN ...WHERE ...in a SELECT statement.
    SELECT ... FOR ALL ENTRIES IN itab WHERE cond returns the union of the solution sets of all SELECT
    statements that would result if you wrote a separate statement for each line of the internal table replacing the symbol
    itab-f with the corresponding value of component f in the WHERE condition.Duplicates are discarded from the result
    set. If the internal table itab does not contain any entries, the system treats the statement as though there were
    no WHERE cond condition, and selects all records (in the current client).
    for example:
    SELECT * FROM sflight INTO wa_sflight
    FOR ALL ENTRIES IN ftab
    WHERE CARRID = ftab-carrid AND
    CONNID = ftab-connid AND
    fldate = '20010228'.
    this condition, return all entries of the sflight
    hen using FOR ALL ENTRIES the number of matching records is restricted to the number of records in the internal table. If the number of records in the database tables is too large then join would cause overheads in performance. Additionally a JOIN bypasses the table buffering.
    So for all entries is used for filtering out the data from the two tables based on the entries in them.
    Advantages:
    1) For all entries avoids inner join & so the performance increases.
    2) For specified values in 1 itab, if you to fetch values from other table you can use it.
    3) Use of select stmt in loop is gets avoided, as u can use read statement on the the new itab.

  • My iTunes library shows all music but there is an exclamation mark to the left on all entries and there is a message stating "original file could not be found" although all music is on the iPad.

    My iTunes library shows all music but there is an exclamation mark to the left on all entries and there is a message stating "original file could not be found" although all music is on the iPad.

    The massage means what it says. iTunes can't find the actual music files. All iTunes has is a database of where the files should be and they are not there.
    Try:
    - iTunes: Finding lost media and downloads
    - Redownloading iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

Maybe you are looking for

  • PI 7.3 Dual Stack User-Defined Message Search

    Hi All, I have implemented an Integrated configuration scenario SOAP-> PI – ABAP Proxy the scenario is sync the. The scenario has no mapping so no operation mapping exist in the configuration scenario. I tried setting up UDMS on the java stack withou

  • Global Location Number

    All, We are using SAP ECC 6.0 I am trying to find out where I can assign a Global Location Number to our company or Plant. I understand I can assign the GLN for our Vendors in the Vendor Master , Control data section (Loc1, Loc2, check digit) I also

  • How do I plot XY-Graph if case is true?

    It seems to me that it always has to be a while-/for loop before XY-Graph, I need a Case window instead, is that possible? If, how do i make it work?

  • Unordered list formatting

    Does anyone know how to format string below as unordered list item, similar to HTML <ul><li>Log in and create new task</li>.... ? Any help will be greatly appreciated. Thanks. package classes [Bindable] public class Labels{ static public const MAIN_P

  • Import metadata in Bridge

    Hi, Let's say I want to import metadata I've edited in Lightroom 4 to Bridge CS6 How can I do that please ? Thanks