LDAP weird error on updating attributes, no error on reading

I have to modify the email addresses of only some users in the LDAP database, hence I am doing a search for all objects with the specified email address and updating it using the modifyAttribute function......
When I just read the properties the code works fine, but when I try to modify the attribute it throws me the following error
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'strsdistrid=3+strsdistruserid=isdfv01,ou=autodistributionobjects'
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'strsdistrid=3+strsdistruserid=isdfv01,ou=autodistributionobjects'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3013)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2740)
at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1440)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:255)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:172)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:161)
at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:146)
at fullname.main(fullname.java:77)
here is the code.....
while (answer.hasMore()) {
SearchResult sr = (SearchResult)answer.next();
sr.setRelative(false);
System.out.println(">>>" + sr.getName());
String dn = sr.getName();
Attributes attrs = sr.getAttributes();
String givenName = " ";
String surName = " ";
try {
givenName = attrs.get("mail").toString();
} catch (Exception err) {
givenName = " ";
System.out.println(">>> [Email addresses] " + givenName);
try {
surName = attrs.get("document").toString();
} catch (Exception e2) {
surName = " ";
System.out.println(">>> [Object name] " + surName);
ModificationItem mods[] = new ModificationItem[1];
// Put in mail
Attribute mod0 = new BasicAttribute( "strsdistremailaddress","[email protected]");
mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE, mod0);
System.out.println("Modifications set");
ctx.modifyAttributes(sr.getName(),mods);
All help is appreciated.

Hi Timbuk,
Iam also having a similar problem as yours.
I have added groups into Active Directory, when i try to add users to groups, Iam getting the same exception.
javax.naming.NameNotFoundException: [LDAP: error code 32 - 00000525: NameErr: DSID-031A0F80, problem 2001 (NO_OBJECT), data 0, best match of:
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3057)
     at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2978)
     at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2785)
     at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1468)
     at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:273)
     at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:190)
     at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:179)
     at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:165)
        at com.loadtesting.main(AddingUser.java:414)
Please let me know if you got solution for your problem. So that you can help me. Urgent
Thanks in advance.
Deebika                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Getting error " Incomplete update due to error in single records"

    Dear All,
    We are loading data from DSO to Cube using full load and the load is failing giving an error message Collection in the source system ended and when checked the error message button it is showing as  " Incomplete update due to error in single records" . and also one more message "Messages (type E) for data records with record number 0
    Message no. RSM2714". Can any one tell us the reason for the failure of this load ? and how to resolve it ?.
    When we click on the help button of the error message it is displaying the message as below
    Incomplete update due to errors in single records --> Long text
    Message no. RSM2712
    Diagnosis
    In the update rules, one InfoSource record was used to create several records in the data target. These records must be handled in the same way to enable tracking into the PSA and the treatment of errors in individual records.
    In the previous case, one record was updated in this kind of group generated by update rules, whereas other records in the same group were rejected. If you updated the PSA data record again, the records that were already updated would be updated again. Duplicate records would appear in the data target and the data target would thus be inconsistent.
    System Response
    The data record with errors was highlighted in the PSA. However, no error request was generated.
    Procedure
    Delete the request in the data target and, after removing the error, update all records for the request to the data target again.
    Regards,
    JayaKrishna

    hi,
    Can you please check out the PSA error record and check this out in Source DSO as this load is for DSO -> Cube....
    Please correct it in PSA if this is not correct as per DSO ....prior correcting data in PSA pls delete the request from Cube.....then it will allow to correct or delete record in PSA and then further push data from PSA to Target Cube...
    If its correct as per DSO then run load in DSO sometime few records wrongly updated by  end user and they correct it by evening for Submission....So u will get the corrected record and then run manually further load to Cube...
    Hope this will help....
    Regards,
    Mahesh

  • Error While Updating Classification Data - Error Message

    Hi,
    Has anyone encountered this error message while updating articles through ARTMAS04 IDOC. We have seen this error so many times and the only solve we could find is if the IDOC is reprocessed then it works fine. I definitely know that's not the solve but it is working temporarily.
    Any help would be greatly appreciated
    Thanks,
    Sri

    Rahul,
    Which function module or transaction are you trying to call?
    It looks like that this update only can happen when logged in to SAP itself.. Because it is trying to call the sap gui..
    Possible solutions you can find in following thread:
    Dump during BAPI_ENTRYSHEET_CREATE calling from Portal
    kind regards,
    Robin

  • Error on update of PS6 : Error Code U44M1P7

    When trying to update PS6 I receive the message: Adobe Extension Manager CS6 Update Installation failed. Error Code: U44M1P7. Has anyone encountered this and come up with solution/work-around?

    Yes there is a documented solution at Can't apply Extension Manager update 6.0.2 | Mac OS - http://helpx.adobe.com/creative-suite/kb/unable-apply-extension-manager-update.html.

  • Error 800233EF Update Download Problems Error Code 107......

    The update does not want to install. It gets to a percentage download then fails - can you please advise urgently

    you should have a new game 
    2 - Open the game box  you will find a catalog of game you will also find a sirial namper3 - Enter the playstation store site you will find a list  select from the list redeem codes
    4 - Enter your sirial namper in the catalog
    5 - Download the new update6-the game will work for sure

  • Error While updating C2-03 Software

    Getting error while updating software. Error code is 12052 

    What is the error when you try and restore the phone after connecting to iTunes? Use this support document to decide what to do for specific restore errors. http://support.apple.com/kb/TS3694

  • AD Administration error: aijmgrStoreNodeName:Error while updating FND_INSTA

    Hi
    While applying a patch i am receiving the following:
    Starting worker processes.
    AutoPatch error:
    aijmgrStoreNodeName:Error while updating FND_INSTALL_PROCESSES
    AutoPatch error:
    ORA-01403: no data found
    AutoPatch error:
    Error: Calling aijmgrStoreNodeName():aijms1
    Error running SQL and EXEC commands in parallel
    I am on 11.5.10.2 wtih DB at 10.2.0.4.
    Thanks.

    AutoPatch error:
    aijmgrStoreNodeName:Error while updating FND_INSTALL_PROCESSESDrop this table and apply the patch from the beginning.
    AutoPatch error:
    ORA-01403: no data found
    AutoPatch error:
    Error: Calling aijmgrStoreNodeName():aijms1Can you reproduce the issue if you apply any of the patches individually?
    Thanks,
    Hussein

  • Error while updating ADF task

    Hi, I'm using an initiator Task with ADF Form in BPM process with SOA version 11.1.1.6 and JDeveloper 11.1.1.6 and everytime I try to update the task I get this error:
    ORABPEL-10101
    Error while updating task .
    Error while updating task Cannot delete Comments.
    Check the underlying exception and database connection information. If the error persists, contact Technical Support Services at Oracle.
    at oracle.bpel.services.workflow.repos.driver.WFTask.updateComments(WFTask.java:5384)
    at oracle.bpel.services.workflow.repos.driver.WFTask.updateWFTask(WFTask.java:2712)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.updateWFTask(PersistencyService.java:630)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6586)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6306)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6277)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6253)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6235)
    at oracle.bpel.services.workflow.task.impl.TaskService.updateTask(TaskService.java:2088)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    I think this might be related to the task comments and with an internal method calling, but can't solve it in any way I know,
    I've tried to remove the userComments from the Task Form, and remove anything associated with it, but everytime I try to savbe the task it gets this error
    thanks

    Hi,
    here's the correct forum for this question: SOA Suite
    Frank

  • Update Operation Fatal Error when installing Technical Preview Build 10041 Upgrade

    I posted this in the Microsoft Community forums and was redirected here.
    Below is the original post (URL: http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/update-operation-fatal-error-when-installing/6eaff1b9-0223-4357-afc8-884382590e82 )
    Hello,
    In trying to perform an upgrade install of the Windows 10 Technical Preview Build 10041 (as is the latest available for direct download as of my writing), I am running into a problem I cannot find mention of anywhere else on the web.
    I fall into two categories with regards to this build: A) Product tester who actually needs to test application performance under Windows 10 on bare metal, B) Semi-crazy techie who loves using (usable) beta software as his primary environment ;)
    so it is rather important to me that I get this working on my machine in some non-virtualized respect. I am reluctant to do a full/fresh install if installation problems are happening, because my Windows 8 product key has been f***ed up from the
    start (likely some random database corruption) and I've had to utilize phone support to get around an "unknown error" the last two times I've had to use it. So, for fear of that key completely crapping out on me, I don't want to move to Win10 unless
    I'm confident it will install and I can stick with it (for better or worse) through the end. Problems within the Preview after I install it I can deal with.
    So, I first tried to install the Preview through the standard Windows Update method. The installer took about 7 hours (but from reading lots of internet discussions, stupidly long install times in that range seem to be a common problem with
    this builds separate from it actually failing). During the reboot between the "Setting up Devices" (Or is it Setting up Drivers? I forget) and "Taking Care of a Few More Things" (Again, possibly paraphrased), for about a split second, underneath
    the Windows logo and throbber, some error like this appeared:
    Fatal Error Performing Update Operation # of ##: ERROR CODE
    It only appeared for a fraction of a second, and I had no chance of reading the precise numbers or error.
    However, the installer then seemed to continue, and went until the main circle was at 100%. As soon as 100% hit, however, the screen went black for something like 30min. Then, I briefly saw "Attempting to recover installation" before "Restoring
    your previous version of Windows." And I was, quite impressively considering how far along that installer was, back in Windows 8.1 completely unharmed.
    I tried again by burning an ISO and doing a disc upgrade install. I let that one run overnight and was asleep for the error, but I was back in Win8.1 in the morning, so I can only assume a similar thing happened there.
    As for my system specs, I'm running on a MacBook Pro 9,1 under Boot Camp. I am upgrading from Windows 8.1.2 Pro with Media Center. I have found other online accounts of people quite successfully installing Windows 10 on Macs, so that isn't the issue.
    Does anyone have any clue as to what this error might have been/be, and how I might fix it? Or at least have it on good authority that a fresh installation would be unaffected (meaning it's software-related)? If not, I can try installing to a VHD,
    which would at least let me product test on bare metal, but wouldn't have the harddrive space to be my daily driver and would probably only get used occasionally.
    Thanks in advance to anyone who can help!
    So far, I have the yet-to-be-tried idea of a clean boot prior to installation.
    If anyone here has any more specific ideas, lemme hear 'em.
    Thanks!

    To the individual who proposed this as an answer to my problem: It's not even applicable. I specifically stated that I was trying to avoid doing a clean installation (at least without knowing more about the problem at hand). An answer saying to do the thing
    you're trying to avoid doing is not an answer. You can see my last reply for the current status of this issue. 6-8 hour blocks of time in which I can't use my computer (as is required to install build 10041) aren't super common for me, but I haven't abandoned
    this thread. There have simply been no more updates. If your motivation as a mod was that you simply don't like there being unanswered threads on this forum, then perhaps you could attempt to contribute rather than arbitrarily marking the first reply as an
    answer.
    I will continue to update this thread as I try new things and get more information.
    Thank you.

  • BPM error while updating task

    Hi, I'm using an initiator Task form a process in BPM with SOA version 11.1.1.6 and JDeveloper 11.1.1.6 and everytime I try to update the task I get this error:
    ORABPEL-10101
    Error while updating task .
    Error while updating task Cannot delete Comments.
    Check the underlying exception and database connection information. If the error persists, contact Technical Support Services at Oracle.
    at oracle.bpel.services.workflow.repos.driver.WFTask.updateComments(WFTask.java:5384)
    at oracle.bpel.services.workflow.repos.driver.WFTask.updateWFTask(WFTask.java:2712)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.updateWFTask(PersistencyService.java:630)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6586)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6306)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6277)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6253)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6235)
    at oracle.bpel.services.workflow.task.impl.TaskService.updateTask(TaskService.java:2088)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    I've tried to remove the userComments from the Task Form, and remove anything associated with it, but everytime I try to savbe the task it gets this error
    thanks

    Hi,
    Have you solved the problem? For I have met the same problem, Could you share it with me.
    thanks a lot.

  • Ios 7 software update reports an error

    Trying to install the iOS 7 on my iphone 4 and I receive this error
    "Software Update Failed
    An error occurred downloading iOS 7.0"

    At the "HELLO" screen. "Slide to open >
    So far I really like it. Very bright icons and some new easy ways to access things
    But then again, I have been using it for all of 1 minute lol

  • Software Update Failed An error occurred downloading iOS 8.1.3

    I can not get the phone to update the OS? I tried different wifi points, and still no luck. I tried this at least 6 times with the same result. It looks to download, and then says it is 'preparing' for a while, and then it pukes out the message "Software Update Failed An error occurred downloading iOS 8.1.3". Anyone know how to resolve this? Thanks!

    I've made a blog post on this error "
    SOFTWARE UPDATE FAILED AN ERROR OCCURRED WHILE DOWNLOADING IOS 8.X.X
    I hope this might help for those who are facing problem to update their iPhone or iPad. Here is the link https://shrishailtalukar.wordpress.com/2015/01/20/software-update-failed-an-erro r-occurred-while-downloading-ios-8-x-x-solution/

  • Softwrae update failed, An error occurred downloading iOS 8.1.2

    I purchased new iphone 5S, while updating it gives an error - Software Update Failed, An error occurred downloading iOS 8.1.2
    I am not able to update the same, please suggest me solution for the same.

    Hi sukhnandan.singh,
    I see that you may be experiencing issues with an attempt to update your iOS device. I have a couple of articles that should be able to provide some insight to this issue. First, if you are attempting to update through the computer, here is an article that addresses some update errors you may be seeing:
    Resolve iOS update and restore errors - Apple Support
    http://support.apple.com/en-us/TS3694
    Further steps can be found here:
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    http://support.apple.com/en-us/HT201263
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Xperia Z3: sony update engine faliure (error 1200)

    Hi Sony,
    I recently baught Xperia Z3, and am trying to update it...getting the error "Sony Update Emgine faliure (error 1200)
    please assist. I attaching the error image also.

    I found a solution for this issue:
    follow these steps:
    1, disable firewall and antivirus also.
    2, ON internet data in mobile phone 3G or 4G and start USB tethering, settings--more--tethering and portable hotspot--USB tethering.
    3, connect your laptop using tethering. dont use the internet connection which was showing error 1200.
    4, if PCC already updated no issues..otherwise uninstall and reinstall again.
    5, connect xperia phone with tethering ON.
    6, Check drivers are installing. 2 No.s drivers will be installed including RNDIS drivers.
    7, Start updating or repairing software.
    8, usually error wil popout at preparing step in PCC. now, that step should complete.
    9, Let software download to your PC begin with phone tethering. after downloading 30% or more, if data is a concern..disconnect tethering and connect normal internet. Downloading should continue..
    10, once downloading continues, update or repair your xperia. should be successful.
    i did this yesterday 13/5/15 for my Z3 as i was experiencing this error 1200 more than a year. i updated 23.1.A.1.28 firmware by this method.
    no issue at all till the process completed.. easy steps though.I'm using USB dongle for internet.. that could cause this issue.. once i tethered my phone, no issue  ..try this and if succeded, please forward to others.

  • "Software Update Failure - an error occurred installing i0S6."

    I tried to update my iphone 4 through my settings and got the error "Software Update Failure - an error occurred installing i0S6." This is not the first time that happens. I got the same error in the last 3 ios updates. The only way that I found to solve was to update by itunes, but as we have the option to update through iphone, I want to do that.
    Any suggestions on how to solve this problem will be most appreciated.

    In the last 3 ios updates I had to use itunes because through the settings I always get the same error message. The point is that I don't want to use the itunes. I want apple to fix the problem (as I can see I'm not the only one having problem). I have 2 friends that did the update in the same time that I was trying to do, and for both them it worked.

Maybe you are looking for