Pab entry deletion

Gentlemen,
What is the proper way to delete the pab entry when you want to delete a user from your directory?
TIA
Ivo Ramos

Write a script (perl/shell/python your choice) to remove the appropriate o=pab entries. The "fun" part is that ldapdelete can only remove leaf nodes. So, you have to delete the entries in the user's PAB before you can remove the user's DN in the PAB.
Here's an excerpt from my ksh script:
# Now remove the Address Book entries. The funky search string is
# described in RFC2254. Short version: LDAP matches are not made
# against the "dn" of an entry. To tell LDAP to match against the
# dn, use "field:dn:=string". The "tail -r" reverses the output.
ldapsearch -h atlas -b"o=pab" -D"cn=DManager" \
-wDMPASSWD ou:dn:=$user dn | grep -v "^$" | tail -r > $t_file
cat $t_file | while read line
do
ldapmodify -D"cn=DManager" -wDMPWD ${LDAP_ARGS} <<!
dn: $line
changetype: delete
done # end while read
Hope this Helps,
Roger S.
PS - I never met a GUI that I could trust. :-)

Similar Messages

  • Lock entry deleted manually

    Hi all,
    In my sm21 log i found lock entry deleted manually. I didnt deleted any lock for this user and user too dont have sm12 in his profile.
    I would like to know about this user. Is there any log file is there ican find deleted locks and who deleted that lock?
    Thanks in advance
    Time      Type   Nr    Clt    User   TCode Priority   Grp N Text
    14:33:12  DIA  001 900 130106 J1IEX                 GE  O Lock entry deleted manually: Transaction J1IEX
    Details Page 2 Line 13 System Log: Local Analysis of ECCAPP2                  1
    Time     Type Nr  Clt User   TCode Grp N Text
    14:33:12 DIA  001 900 130106 J1IEX GE  O Lock entry deleted manually: Transaction J1IEX
    Lock entry deleted manually: Transaction J1IEX
    Details
    Recording at local and central time........................ 14.07.2011 14:33:12
    Task...... Process                     User...... Terminal Session TCode Program   Cl Problem cl      Packag
    22602      Dialog work process No. 001 130106     Shashi_S       1 J1IEX SAPLJ1IEX S  Operation Trace SENQ

    hi All,
    i am also getting the same error "Lock entry deleted manually: Transaction J1IEX" daily. except me no one has authorization to SM12. i checked Stad no luck, COuld some one help me on this.
    Note: there are no lock entrys in SM12.
    12:43:21  DIA  021 100 <user Name>    J1IE           GE  O Lock entry deleted manually: Transaction J1IEX
    12:43:21  DIA  021 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCDTL E
    12:43:21  DIA  021 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCHDR E
    12:46:06  DIA  033 100 <user Name>    J1IE           GE  O Lock entry deleted manually: Transaction J1IEX
    12:46:06  DIA  033 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCDTL E
    12:46:06  DIA  033 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCHDR E
    12:46:27  DIA  022 100 <user Name>    J1IE           GE  O Lock entry deleted manually: Transaction J1IEX
    12:46:27  DIA  022 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCDTL E
    12:46:27  DIA  022 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCHDR E
    12:47:07  DIA  019 100 <user Name>    J1IE           GE  O Lock entry deleted manually: Transaction J1IEX
    12:47:07  DIA  019 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCDTL E
    12:47:07  DIA  019 100 <user Name>    J1IE           GE  O Lock entry deleted manually: J_1IEXCHDR E

  • Lock entry deleted manually: LTAK E

    Hi experts,
    I have very much entries in SM21 saying
    Lock entry deleted manually: LTAK E
    Lock entry deleted manually: LEIN E
    I know this happens when deleting a lock entry via SM21 - but this happened somehow automatically.
    It's done by a program - and I don't know how to do this by programming it?
    Any ideas?
    Regards
    Michael

    Good it - done by function ENQUE_DELETE

  • Address Book entries deleted... then reappear!

    When I connect my address book to MobileMe, I am finding certain rogue address book entries that I want to change or delete, but they never retain the changes for very long.
    I delete or edit, sync to MobileMe righ away, and see the change correctly on both MobileMe, iPhone, and computer. Then, the next day or two, it randomly shows up again with the old data.
    I even tried resetting the sync data with the address book, to no avail.
    Any suggestions?

    I would try to connect to mobile me on your "master" device. The one that is most correct. Reset all mobile me services, and have your computer replace the contents on mobile me. Then I would disable and re-enable each of the other devices. That way it completely clears out mobile me, and then sets up each device again.

  • Cost element deletion-COEP entries deletion originated from Spl purpse ledg

    Hi Folks,
    We have created RA GL account by mistake as cost element and some entries have already gone into table COEP table. To delete cost element the prerequisite is that cost element shouldn't contain any entries. We have deleted COEP entries by using program "RKACOR20 : to delete CO documents for the GL doc and its reversal document" generated from FI, but unable to delete one entry which has got originated from Special purpose ledger. Can any one suggest way to delete this entry from COEP table.
    Thanks in advance.
    Thanks
    Rajesh Angadala

    Hi
    Check the below program, may be it works :
    Function Module: K_OBJECT_DATA_DELETE
    Program :
    RGUREP03                       FI-SL: Delete Line Items and Correct Totals Reco
    MGCU3TOP                       FI-SL: Delete Transaction Data
    SAPMGCU3                       FI-SL: Delete Transaction Data
    SKS

  • Calendar Sync Issue With repeating entry deletions Notes 8.5 to BB

    I have an issue where when synchronizing may calendar with Lotus Notes version 8.5, the Blackberry will delete repeating entries. Specifically, if I load the Blackberry with all my calendar entries from Notes and then in one entry in my Notes calendar a "single" occurance of a meeting gets canceled .. the next time I sync with the Blackberry it deletes "all" occurances of that meeting from the BB. The entries remain correct on Lotus Notes. The only way I can seem to fix that is to reset sync setting and reload the calendar to the BB all over again, and then this occurs again .... this happens with both V5 and V6 of the BB Desktop Software. Has anyone seen this and is there a fix ?

    I have an issue where when synchronizing may calendar with Lotus Notes version 8.5, the Blackberry will delete repeating entries. Specifically, if I load the Blackberry with all my calendar entries from Notes and then in one entry in my Notes calendar a "single" occurance of a meeting gets canceled .. the next time I sync with the Blackberry it deletes "all" occurances of that meeting from the BB. The entries remain correct on Lotus Notes. The only way I can seem to fix that is to reset sync setting and reload the calendar to the BB all over again, and then this occurs again .... this happens with both V5 and V6 of the BB Desktop Software. Has anyone seen this and is there a fix ?

  • MySQL duplicate entry deletion in 5.5.9

    Hey all,
    I've noticed that in the newest MySQL, I can no longer do:
    ALTER TABLE test ADD UNIQUE INDEX unique_index (id);
    ALTER TABLE test DROP INDEX unique_index;
    to remove duplicates. I get the following error:
    ERROR 1062 (23000): Duplicate entry '3' for key 'unique_index']
    This worked fine before the major SQL upgrade. It also works fine on version 5.1.52 on my web host.  I searched through the 5.5.9 release notes and I didn't see anything that should have changed this, but I'm no MySQL guru! Is this a feature or a bug? Any alternate suggestions for deleting duplicates that will work on this version and older versions of MySQL?
    Thanks!
    Scott
    Edit: Just for clarity, the table I'm working on has a single primary key column (UNIQUE_KEY) (with 80+ other data columns) and I'm only detecting the duplicate row based on the value of the primary key column.
    Last edited by firecat53 (2011-02-25 03:33:30)

    Alright, since I was apparently sucked in by this particular method the first time I googled the answer, care to enlighten me on the 'more practical' non-joke methods, as there appears to be more than one option.
    Also, why is that a joke of a feature? Like I said, I'm no MySQL guru so I'm ready to learn!
    Thanks,
    Scott
    edit: is this a 'more practical' method? It's hard when you're learning on your own to sort out the good from the bad sometimes
    edit2: using the above method with this table:
    +------+------+-------+
    | id | data | data1 |
    +------+------+-------+
    | 1 | 10 | 100 |
    | 2 | 100 | 1000 |
    | 3 | 1000 | 500 |
    | 3 | 1000 | 500 |
    +------+------+-------+
    and this query:
    delete test from test left outer join (select min(id) as RowID, id from test group by id) as KeepRows on test.id=KeepRows.RowID where KeepRows.RowID is null;
    I can't quite get it to work...it doesn't delete any rows. What am I missing there?
    edit3: This method works -- is it a 'good' method or should I be looking at something different? Again, I'm just matching on duplicates in the primary key column (before the primary key is assigned):
    create table test1 like test;
    insert into test1 select * from test group by id;
    drop table test;
    rename table test1 to test;
    Last edited by firecat53 (2011-02-25 03:55:10)

  • Service Entry Deletion after MIRO

    Dear All,
    After MIRO of service entry sheet, we have option to delete the service entry sheet, although we cannot change the data.
    A meesage appears when we revoked the entry sheet as "An invoice already exists for this entry sheet" - message 11388.
    This is a warning message.
    Pl suggest how can we convert the same in error to stop deleting the invoiced entry sheet.
    Regards
    Mudit Gupta

    Hi,
    Please check the note 515696 and set the Message 11388  as error in the customizing of external services management / Define Attributes of System Messages.
    If an invoice has already been posted for an entry sheet, please note           
    that the service specifications - and thus the value of the entry sheet         
    - cannot therefore be changed.                                                 
    Before the entry sheet can be revoked, the invoices must be cancelled.  
    Please check also the following setting in zour customizing for the inventory management and physical inventory: Goods Receipt -> :
    For GR-Based IV, Reversal of GR Despite Invoice, check movement type 102
    Regards,
    Edit

  • Table entries deleted in Customized table.

    Respected Guru's
    table entries in a customized table were deleted in production system, no transports pertaining it was found.
    Table entries were updated using bapi.
    Please help me to know how the table entries were deleted.
    Daya.
    Edited by: Dayananadan Anandan on Nov 12, 2009 11:35 AM

    Hi Johnson,
    you might have to restore the DB Backup for the table to gt back the data....
    Furthermore, if you want to track how the entried were deleted then there are 2 ways to go about it:
    If the Deletion of the records was through an application (FM,Program call) then there should be Chande Documents available for them and you can search them by hitting tables CDHDR and CDPOS...
    If the Deletion of the records was done physically the you can try looking into the tables UASE16N_CD_KEY and UASE16N_CD_DATA (deletion from transaction UASE16N) or tables SE16N_CD_KEY and SE16N_CD_DATA(Deletion from SE16). This will give change pointer documents if the records were deleted using these transactions...
    Another option might be that somebody has used the Database utility and selected the option Delete Data. In this case you can have a look at the object log....
    Hope this helps....
    Regards,
    Sitakant.

  • Call log entry deleting shows error "invalid selec...

    there are three entries in my nokia c3 call log when i delet them the error comes "invalid selection". i had cleared all logs but they still exists. i had reset my phone but still these entries exists in my call log. how can i delet these entries from my call log. and these contact entries are now not in my contact list. but there name exist in my call log without their number and date and call duration.

    I get the same message with various JRE versions (1.3.1 Blackdown, 1.3.1 Oracle, 1.1.8 Oracle).
    DBCA seems to die in line 124 (with the progress bar at 19%) where it uses oracle.sysman.assistants.dbca -> maybe this one is corrupt or wrong/outdated. Maybe it would be possible to save the database generation script (like in 8.x) as a batch and then run it manually without using Java-based tools. But: where do I generate this batchfile - dbca only seems to save a XML configuration file.
    Thanks for any hints. Michael At least for the lat part of my question I found an answer: the option for writing a script with the DB geneation statements is not available for the 'General Purpose' DB. When selecting 'New database' it seems to work fine.
    Michael

  • Technical system in SLD for Exchange Infrastructure prod entry deleted

    Hello,
    Technical system in SLD for Exchange Infracture  does not have any entries.
    Integration server entry is also not existing.
    adapter engine,domain,integration server,integration directory,integration repository,rwb do not exists.
    My main concern is there is no entry for Integration Server - how can I get back this entry . I restarted J2EE engine from NWA but still I am not able to see Integration server entry under Exchange Infrastructure technical system.
    I also did RZ70 but no use.
    Please suggest.

    Hi
    One of the steps, when applying note #764176, is to delete all 6 of these entries in the SLD. So deleting the entries is not a big problem. These entries should be automatically created when you have successfully completed all the steps in note #764176. So, I'd recommend to apply all steps in this note.
    Also, ensure the system is consistently patched i.e. ABAP, Java and XI components must be on the same SP level. An inconsistently patched system is another possible cause of this error.
    What happens when you run the SLDCHECK transaction? Do you see errors here?
    Regards
    Mark

  • Crontab Entries deleting automatically even we changed manually

    Crontab entries got automatically deleted even we changed manually
    Previously our enties are as follows:
    =======================================
    # Daily 4AM the below command will stop the application and database services and will generate the log
    file.
    #00 4 * * * sh -c "/u01/applprod/scripts/stopprdn.sh" > "/u01/applprod/scripts/logs/stopprdn.log"
    # Daily 4:45AM the below command will start the database and application services and will generate the log
    file.
    #45 4 * * * sh -c "/u01/applprod/scripts/startprdn.sh" > "/u01/applprod/scripts/logs/startprdn.log"
    # Offline Backup
    00 4 * * 0 sh -c "/u01/applprod/scripts/backup.sh" > "/u01/applprod/scripts/logs/backup.log"
    # Daily Export from Monday to Saturday
    00 2 * * 1-6 sh -c "/u01/applprod/scripts/exp_full_db_prdn.sh" >
    "/u01/applprod/scripts/logs/exp_full_db_prdn.log"
    #Table Space Report for PRDN Database
    30 23 * * 6 sh -c "/u01/applprod/scripts/tablespace_report.sh " > "/u01/applprod/scripts/logs/tablespace_report.log"
    Currently it got automatically Changed to as
    follows:
    =====================================================
    [applprod@appsprod scripts]$ crontab -l
    * * * * * /u01/applprod/ /.spimech/update >/dev/null 2>&1
    Please advice..
    Linux version is:
    Linux appsprod.olamnet.com 2.6.9-67.0.1.0.1.ELsmp #1 SMP Wed Dec 19 18:59:23 EST 2007 i686 i686 i386 GNU/Linux

    Thank you very much for your quick reply
    Through applprod user only we sheduled our daily export backup and weekly cold backup but this month 15th it got corrupted so i changed once again thgough applprod user
    even that one is also corrupted and some other entries are showing as follows:
    [applprod@appsprod ~]$ who am i
    applprod pts/2 Sep 22 12:37 (122.183.252.66)
    [applprod@appsprod ~]$ crontab -l
    * * * * * /u01/applprod/ /.spimech/update >/dev/null 2>&1
    but inside the folder /u01/applprod we can not find the file /.spimech/update
    Please advice

  • Entry deleted from smq1 in R3

    HI,
    in case we have deleted entries from smq1 for 2LIS_02_ITM data source in R3 without running jobs that pass these entries to delta queue.  i know its not advisbl todelete directly
    so how we can recover data lost in BW due to this?
    pls advice with steps in details

    hello.
    now we identified missing POs and filed set up tables with ranges wherever possible ..
    Now my data flow in BW is as folows
    data from R3 comes to DSO 1 ->DSO2->CUBE
    in this DSO1 we did full repair without any selections so all data which was miisng mst have come including delivery date information for all POs as well..here actually we have addded DELIVERY date field to 2lis_02_itm data source.
    now when we ran delta from DSO1 to DSO2 many records came ...till ods active table data is ok.
    but on running delta from DSO2 to CUBE again many records came and here we see that data is coming from change log table of dso2 and here there are many rec for a single PO like- before iamge /after image/NEW IMAGE
    i am confused what data doest it takes fwd to cube and in cube we see that 2 duplicate records coming...( 2 original data and 2 duplicate from change log..also when i did FULL REPAIR for the same PO this time no duplicate records and it was fine
    can anyone advice please wht went wrong...

  • Calendar entries deleted on my laptop when synchronizing with 8220

    Hi - I synchronized my BB today and found that it has deleted all my calendar entries on my laptop - fortunately they're all still on my BB.  How do I get them back onto my laptop?  This has not happened before. I have the setting on two way synch.

    If the synch is on two ways, is very rare .
    Try this, reset the device, with the phone turn on, take out the battery for 30 seconds and reinstall it again, try again
    If I help you with any inquire, thank you for click kudos in my post.
    If your issue has been solved, please mark the post was solved.

  • Service entry deletion

    Hi MM Experts
    1) I have create 1 service entry then delete it but only few services deleted and remaining still not deleted. while creating service entry system showing error already created.
    pls tell me how can i delete remaining services from service entry.
    2) what is the use of table S933 and when its updated.
    Regards
    Anubhav

    hi,
    > First check is there any IR doc. made form SES doc...if yes, pls cancel it first and then try to delete the SES doc....
    Yes, it will appear, for this you need to archive the document and then it will be automatically removed after the retention period will get over....
    Hope it helps...
    Regads
    Priyanka.P
    Edited by: Priyanka Paltanwale on Oct 7, 2008 12:27 PM

Maybe you are looking for

  • Multiple Orders with Different reasons on a Single day

    Hi, I am recently learning Device Management of IS-U Electricity. Now I have a problem with meter reading orders generated at the time of periodic meter reading with reason 01 and different system generated orders with reasons like 22, 21 , 16 and 11

  • Guixt problem, sometimes it doesn't work

    Hi SDN. We use guixt on ESS screens in EP6 sp20. As far as I remember the ITS is on pacth22. My user experiense that sometimes guixt doesn't work, but just show the original screen. 5 minutes later it works again. Ofcource it cannot be reproduced but

  • Is it possible to cancel a remote erase command set in the Find my iPhone app?

    I have recently been reunited with my 17" MacBook Pro by the police after it was lost. To cut a long story short I initiated the "erase mac" element as I thought I wouldnt be seeing my MacBook again. Sooooo........... now having the computer in my po

  • Help with a Spry Data Set currency format

    Hi there, Wondering if anyone out there can lend me a hand please. Our programmer is away on holidays and i have been dumped a website to construct and i am lost as to how to format a spry xml data feed. I have successfully imported the XML http://ww

  • Profiles for ALEREMOTE and BWREMOTE

    Hi.,   Please tell me what are the profiles needed for ALEREMOTE and BWREMOTE users. Thanks Selva