Delete PAB

Hello,
To delete a user's PAB, it can be done using the Admin Console.
To delete 50,000 users PAB, i think it is inefficient to use Admin Console. Is there any available command line to do it?
the servers we're using are:
NDS 4.12
IMS 5.0 P2
Thanks!

If you script it you certainly can delete the pab from 50000 user entries
rather quickly.
Write a perl script or a shell script which loops through all
of the userids and removes the paburi attribute. That is the reason
I gave you the sample ldif file that would be input for the
ldapmodify command.
The logic for this script would be:
for each uid in the list of uids
loop
  print the dn to file x.ldif
  print the changetype and change commands to file x.ldif
  print blank line to file x.ldif
end
once that is done call ldapmodify and feed it the x.ldif
file which would now have entries which look like:
dn: uid=foo,ou=People,o=your.domain.com,o=somesuffix
changetype: delete
delete: paburi
dn: uid=bar,ou=People,o=your.domain.com,o=somesuffix
changetype: delete
delete: paburi
HINT: It does not matter how you generate the x.ldif file (use whatever tools you are comfortable with to get to that point then run the ldapmodify command).
As to your second question, the pab database is stored under the o=pab tree. You have to remove that tree from the ldap directory, but you need to delete the paburi attributes first.

Similar Messages

  • Continuing delegated admin issues

    Folks,
    I have install nda on our production machine. When I try to login as ServiceAdmin (which is the mail admin in ldap) it says invalid credentials.
    I have more problems with delegated admin -- I am starting to hate it....

    The command line is your friend. Learn it, use it, love it. :-)
    Seriously, for account creation/deletion, I've written scripts for doing that. Much easier than the GUI. Besides, the GUI doesn't delete PAB entries (last I checked). I also have a script for setting a user's password.
    I do have one question: Why doesn't the iDA allow me to modify a user's mail filter? I can do other stuff, but not that.
    Roger S.

  • 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. :-)

  • How to delete empty imported address books?

    I found similar issues but the solutions offered do not seem to work for me. I have now got 4 copies of implab.mab in my profile folder (suffixes -1, -2, -3). I've tried deleting the extra 3 with explorer but they reappear. I've tried renaming them as suggested elsewhere but then the renamed and original both appear. Deleting them from the address book pane in the Write option has no effect.
    Any suggestions? Thanks

    Confirm these are address books you have deleted from the 'Address Book', so they no longer display in 'Address Book'.
    I'm not talking about empty address books which are still displaying - they must have been deleted.
    In 'Address Book'
    select the address book
    Edit > Delete address book
    note you cannot delete any default address books :
    'Personal Address Book' and 'Collected Addresses'.
    You cannot delete/remove old deleted address book entries via 'Config Editor'.
    You can access the 'prefs.js' file located in your Profile folders and open that file using 'Notepad', then edit the file and save and close.
    However, you must have exited/closed Thunderbird first in order to do this, otherwise editing the file will have no effect.
    I would also advise you create a copy of the prefs.js file before you make any changes and save to desktop to act as a backup - just in case of error.
    In your 'prefs.js' file
    Each live- not deleted address book shown in the 'Address Book' will have:
    'Description', 'dirType', 'filename' and 'position'
    eg:
    user_pref("ldap_2.servers.testimpab.description", "Test Impab");
    user_pref("ldap_2.servers.testimpab.dirType", 2);
    user_pref("ldap_2.servers.testimpab.filename", "abook-1.mab");
    user_pref("ldap_2.servers.testimpab.position", 1);
    Any address book you imported/created and subsequently deleted from the 'Address Book' will only leave the 'position' line in prefs.js.
    There will be no other lines associated with that address book.
    eg:
    user_pref("ldap_2.servers.TEST_1.position", 6);
    This is the line you can delete - make sure TB is closed first.
    Note: Do not delete anything that says 'pab' or 'history' - these are the default address books.
    After editing the 'pref.js file, save the file and then close it.
    Then restart Thunderbird.

  • I want to delete all the cards in personal address book and collected address, so I delete all of them, but when I reboot thunderbird, they all came back.

    I want to delete all the cards in personal address book and collected address, so I delete all of them, but when I reboot thunderbird, they all came back.

    Select Help/Troubleshooting Information, click Show Folder to open the profile folder in your OS's file manager, exit TB, delete (or move to another location) abook.mab (Personal Address Book) and history.mab (Collected Addresses). When you restart TB, you should have empty PAB and CA address books.

  • I want to delete all the memo in calrendar at once.

    I want to delete all the memo in calrendar at once.
    Is there any way to do it?
    Pleas help me!

    Select Help/Troubleshooting Information, click Show Folder to open the profile folder in your OS's file manager, exit TB, delete (or move to another location) abook.mab (Personal Address Book) and history.mab (Collected Addresses). When you restart TB, you should have empty PAB and CA address books.

  • Problem deleting users with delegated admin

    Hello,
    I seem to be having a problem deleting users with delegated administrator. I am using JES 2005Q4.
    Here is what I do:
    I set Inetuserstatus and mailuserstatus to deleted. Then run msuserpurge to delete the mail box. This seems to be working fine. Then I do a commadmin domain purge and it will actually delete the persons ldap record, but it does not delete the o=pab records or the o=PIserverDB records.
    I am probably missing a step here, and would apprecidate it somebody could point me in the right direction.
    Thanks,
    Gary

    DA patches:
    119777-10 most current release for Solaris
    119778 for X86
    119779 for Linux
    118540-23 Communication Express Solaris Sparc
    118541 X86
    118542 Linux
    118207-42 Messaging core Solaris sparc
    118208 X86
    118209 Linux
    116574-02 Veritas Vcsha (sparc only)
    118242-03 and 118245-03 Dssetup sparc
    118243 and 118246 X86
    118247 Linux
    122018-02 Outlook Connector
    (all the currently released patches. Most have t-patches available from tech support post the above numbers)

  • PAB Deprovisioning.

    Is their a utility to delete orphaned PAB's? Something similar to what is done for user mailboxes?

    Jay,
    Okay. This '/sunone/SUNWmsgsr/lib/purge' utility is
    suppose to be used for all user deprovisioning then?
    Recommended method something alongs these lines:
    1. Set mailUserStatus to "deleted" for user.yes
    2. Run mboxutil to get orphaned mailboxes to
    delete.not needed. purge should do that, too.
    3. Remove actual LDAP entry from directory if
    necessary.
    Will it remove subscriptions for shared folders too?
    Example:
    Purging user 'a'.
    User 'b' has a subscription to a folder shared by
    user 'a.' When user 'a' is purged will the
    subscription user 'b' has be removed or will it just
    not work?I suspect it will just not work. The subscription actually lives in user b's settings, so it's not likely to be changed. Same as removing the mailbox with mboxutil.
    >
    In the configutil setting for local.schedule.purge
    what's the "-num=5" used for?http://docs.sun.com/source/819-0106/cfgutil.html
    Interval for running purge. Uses UNIX crontab format:
    minute hour day-of-month month-of-year day-of-week. See local.schedule.expire above.
    Default: 0 0,4,8,12,16,20 * * * /opt/SUNWmsgsr/lib/purge -num=5
    and the referral to "above":
    Interval for running imexpire. Uses UNIX crontab format:
    minute hour day-of-month month-of-year day-of-week
    The values are separated by a space or tab and can be 0-59, 0-23, 1-31, 1-12 or 0-6 (with 0=Sunday) respectively. Each time field can be either an asterisk (meaning all legal values), a list of comma-separated values, or a range of two values separated by a hyphen. Note that days can be specified by both day of the month and day of the week. Both will be required if specified. Example, setting the 17th day of the month and Tuesday will require both values to be true.
    Interval Examples:
    1) Run imexpire at 12:30am, 8:30am, and 4:30pm:
    30 0,8,16 * * *
    2) Run imexpire at weekday morning at 3:15 am:
    15 3 * * 1-5
    3) Run imexpire only on Mondays:
    0 0 * * 1
    Default: 0 23 * * * /sbin/imexpire

  • Delete some user's messages

    Hi guys,
    Our version of Sun Java Messaging Server is "Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)". Sometimes I have a need to delete some user's messages from the message store. Previously, I have done this with webmail, log in with web admin proxy user and delete some messages, but now in the new version this future doesn't exists.
    Does it have some solution as with Sun Java Messaging Server 6?
    Regards

    Ops, I have configured proxy admin account, but nothing was happened when I try to log in with admin account. In the log I get only this
    AM com.sun.uwc.common.auth.LDAPAuthFilter doFilter
    INFO: --------Inside ldapfilter-----
    My uwcauth.properties configuration is:
    defaultdomain = mydomain.com
    ! Defines the default locale of the application
    defaultlocale = en
    ! Defines the mode in which calendar server is operating.If the calendar server is operatin
    g in hosted(virtual) domain mode, this parameter should have value of 'y' else it should ha
    ve 'n'
    virtualdomain.mode = n
    !#### Defines if SSL is enabled #####
    uwcauth.ssl.enabled=true
    !#### Defines if SSL is enabled for authentication only#####
    uwcauth.ssl.authonly=false
    !###### Defines list of Admins for Proxy Authenication########
    [email protected]
    !######## LDAPAuth Filter Configuration ########
    ! LDAP server to authenticate against
    ! Usually the ldapauth.ldaphost is the same as the ldapusersession.ldaphost
    ! but it doesnt have to.
    !ldapauth.ldaphost= <LDAPhostName>
    !ldapauth.ldapport = <LDAPhostportnumber>
    !ldapauth.dcroot = dc=mydomian,dc=com
    !ldapauth.basedn= dc=mydomian,dc=com
    !ldapauth.domainattr = inetDomainBaseDN,inetDomainStatus,inetDomainSearchFilter,domainUidSe
    parator,preferredLanguage,aliasedObjectName
    !ldapauth.domainfilter = (|(objectclass=inetDomain)(objectclass=inetDomainAlias))
    !ldapauth.ldapbinddn = <binddn>
    !ldapauth.ldapbindcred = <binddncredintials>
    ! ldapauth.enablessl parameter is reserved for future use. Connecting to
    ! Authentication LDAP directory over SSL is not yet supported.
    !ldapauth.enablessl = false
    !ldapauth.primaryDomain = sunPreferredDomain
    !ldapauth.associatedDomain = associatedDomain
    ldapauth.schema=2
    !Parameters for the user lookup
    !Syntax for the filter: %U is replaced by the uid part of the login (uid@domain)
    ! %V is replaced by the domain (uid@domain)
    ldapusersession.defaultugfilter = uid=%U
    !ldapusersession.ugattr = uid,inetUserStatus,preferredLanguage,psRoot,pabURI,cn,mail,mailHo
    st
    !Host name of the directory server used for users lookup. More than one host can be specfie
    d for fallback.
    !The names of the servers are delimited by comma.
    !The name of fallback servers should be in the format : Host Name:Port#
    ldapusersession.ldaphost = host.mydomain.com
    ldapusersession.ldapport = 1389
    ldapusersession.ldapbinddn = cn=Directory Manager
    ldapusersession.ldapbindcred = p/RsDM36193WnsVc8aj5ZQ==
    ldapusersession.dcroot = dc=mydomain,dc=com
    ldapusersession.basedn = dc=mydomain,dc=com
    ldapusersession.domainfilter = (objectClass=sunManagedOrganization)
    ldapusersession.primaryDomain = sunPreferredDomain
    ldapusersession.associatedDomain = associatedDomain
    ! Minimum Number of Connections in LDAP Pool
    ldapusersession.ldappoolmin =30
    ! Maximum Number of Connections in LDAP Pool
    ldapusersession.ldappoolmax = 100
    ! Timeout for LDAP request (in seconds)
    ldapusersession.ldappooltimeout =30
    ! ldapusersession.enablessl parameter is reserved for future use. Connecting to
    ! User/group LDAP directory over SSL is not yet supported.
    ldapusersession.enablessl = false
    !######## Common Auth Configuration ######################
    ! Contains the name of the cookie used by the servlet container to
    ! keep track of sessions. Should never change!!!
    uwcauth.sessioncookie = JSESSIONID
    !Identity SSO
    !'true' if Communications Express is enabled with Identity SSO, else 'false'
    uwcauth.identity.enabled=false
    ! Login Page URL of the Indentity Server
    uwcauth.identity.login.url=<IdentityLoginUrl>
    ! Login Page URL of the Identity Server in SSL mode
    uwcauth.identity.ssl.login.url=<IdentitySSLLoginUrl>
    !Bind DN of AdmAdmin
    uwcauth.identity.binddn=<IdentityAdminDN>
    !Bind Credentials of AmAdmin
    uwcauth.identity.bindcred=<IdentityAdminPassword>
    ! Name of the Cookie set by Identity Server
    ! Note: This should be the same as the one configured in Identity Server
    uwcauth.identity.cookiename=iPlanetDirectoryPro
    !HTTP Port number of Communications Express
    uwcauth.http.port=80
    !HTTPS Port number of Communications Express
    uwcauth.https.port=443
    ! Identity SSO Cookie Path
    uwcauth.identitysso.cookiepath = /
    ! if this flag is true then the logout will cleans the IS Session completely so, all the ap
    plications participated
    ! in this IS session will be signed out. If this flag is false then only the uwc's session
    will be cleaned and user
    ! will be taken to the url configured below(identitysso.portalurl)
    identitysso.singlesignoff = true
    ! if IS is enabled and singlesignoff is false then UWC leads to following URL
    identitysso.portalurl = http://www.sun.com
    ! IF identitySSO is enabled then this flag will decide if UWC has to refresh its session wi
    th Identity or not.
    uwcauth.identity.refreshidentitysession=false
    ! If uwcauth.identity.refreshIdentitySession is set to true,then this will variable will de
    cide at what percentage of
    !interval will UWC refresh its Session with IdentityServer.Valid values for this variable r
    ange from 1-9.As a example if the
    !value of this variable is 8,then UWC will refresh its session with AccessManager after 80%
    of UWC session time has completed
    ! If UWC Session never expires then AccessManager MaxIdleTime will used to calculate the re
    fersh time.
    uwcauth.identity.sessionrefreshinterval=8
    ! To support user to login thru the domain specific url (http://virtualdomain.com/uwc) with
    out providing
    ! @virtualdomain.com as part of UID, the domain part of IS login url and domain specific ur
    l of UWC should be same.
    ! To achieve this uwc needs to construct the IS login url in the runtime based on the domai
    n specific url otherwise the
    ! browser will not provide IS cookie to UWC.
    ! Now, to help UWC to construct the IS login url according to the domain specific url of uw
    c, we need to define the
    ! mapping as follows:
    !'true' if pab migration is required else 'false'
    !turn on this if pab migration is required
    pab_mig_required = false
    Our version of UWC is Patch: 122794-21 Packages: SUNWuwc.
    What I have misconfigured?
    Regards,
    Cobe

  • Second PAB created for user

    Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
    libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
    We have two frontend MEM's to one backend store (all using the above versions). We're still using Mess Express (not UWC). We had a customer report that his address book had disappeared. Upon searching the LDAP logs in o=PAB we found that indeed a new address book was created, however his older one still existed:
    Entry of the additional PAB:
    dn: un=AddressBookcf9c80a,ou=UID, ou=people, dc=yyy,dc=xx,o=pab
    changetype: add
    un: AddressBookcf9c80a
    objectClass: top
    objectClass: pab
    cn: Address Book
    However the true (original) address book is:
    dn: un=AddressBook41f0c69,ou=UID, ou=people, dc=yyy, dc=xx,o=pab
    un: AddressBook41f0c69
    objectClass: top
    objectClass: pab
    cn: Address Book
    When he logged into ME, he could only see the newer one (the first one in the above) even tho the original one with many entries in it was still in LDAP. The newer one was created by the messaging user that is configured, but why? Has anyone else seen this? We deleted the newer one (had only two addressbook entries) and then they were able to see the original again once they logged in.

    Hi,
    When he logged into ME, he could only see the newer
    one (the first one in the above) even tho the
    original one with many entries in it was still in
    LDAP. The newer one was created by the messaging
    user that is configured, but why? If I had to guess, I would say that for some reason the PAB was not accessible (when the LDAP search was performed there were no results) so ME created a fresh addressbook.
    Do you have a replicated master/slave ldap environment? Have you had any directory issues recently, modified ACI's etc?
    Has anyone else
    seen this? I haven't heard of a case like this.
    The most common issue with PAB's in ME is that the dn: of a user is changed, so the paburi which uses the dn: as a key into the o=pab tree doesn't correspond so you get an error when accessing the PAB.
    Regards,
    Shane.

  • Proper way to delete a domain?

    First let me apologize if this has been answered many times.. but i did search through the forums and could not find the info i need.
    I have successfully removed all users (cals and PAB) entries for a domain. Now i want to remove the domain from the server.
    I have used the following commands.. and they complete successfully.. no errors...
    commadmin domain delete -D user -w password -d domain
    commadmin domain purge -D user -w password -d domain -g 0
    Both succeed.. but when i do a msuserpurge -v -d domain
    i still see the domain.. and if i ldapsearch for the domain.. i still see the top entry o=domain etc.
    I notice that the mailDomainStatus is still showing "active"
    I can ldapmodify the mailDomainStatus to "removed" but not sure if this will then allow the purge command to totally remove the domain?
    --additional info:
    Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
    the domain i am trying to remove is not the default domain.
    Thanks for any assistance.
    Message was edited by:
    callenj98

    thank you Jay. Was going to patch.. but found a note from you about a bug in the latest patch.. so was gonna wait till the next patch rev. came out. think it was something to do with a session problem.
    So if i manually ldapdelete the o=domainname entry.. that should be fine right? I do not see an sub entries for the domain left over. Or any users/groups.
    thanks again.

  • Pab migration from webmail to comm express version 6.3

    I am not able to run runMigrate.sh successfully.
    Setup details:
    Mailhots (backend): ms.test.com
    Uwchost (frontend): uwc.test.com
    Directory server: dr.test.com
    I see all entries of messenger address book under:
    o=test.com,dc=test,dc=com,o=pab
    ugldapbasedn = "dc=test,dc=com"
    I have replaced "o=siroe.com, o=isp" by "o=test.com,dc=test,dc=com" in runMigrat.sh
    However it's not working.
    I do not see nswmextendedprefs, mepabmigration to any of the user? I am also not able to set it. Are those required for Batch Migration as well?
    When I restart the webserver, I see following in /tmp/migrate.log but didn't see any entries in uwc address book:
    TRACE [Tue May 13 18:20:02 IST 2008] Pool doesn't exists for -> dr.test.com:389:cn=Directory Manager so creating a new one
    TRACE [Tue May 13 18:20:02 IST 2008]  ------ Got Seed from file ---
    TRACE [Tue May 13 18:20:02 IST 2008]  ------ Reading decryption seed file ---
    TRACE [Tue May 13 18:20:02 IST 2008] Provider added at 1
    TRACE [Tue May 13 18:20:02 IST 2008] -------Decrypt is done ----------
    TRACE [Tue May 13 18:20:02 IST 2008] in initUgLdap
    TRACE [Tue May 13 18:20:02 IST 2008] Creating DBPluginMap for key:ldapplug
    TRACE [Tue May 13 18:20:02 IST 2008] Creating DBPluginMap for key:idir
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-6 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-7 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-8 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-9 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-10 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-11 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-12 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-13 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-14 is started
    TRACE [Tue May 13 18:20:02 IST 2008] Thread-15 is startedimportant part of Migration.properties
    logfile=/tmp/migrate.log
    loglevel=3
    dr.test.com.pabldappoolmin=4
    dr.test.com.pabldappoolmax=20
    dr.test.com.pabldappooltimeout=50
    ms.test.com.alwaysusedefaulthost=0
    # if this is set and if the migration is successful, then the pab entries and paburi will be #deleted!
    # if this attribute is set take the pab ldap's backup if necessary
    delete_pabentry=0
    maxthreads=10
    ms.test.com.pabhosts = dr.test.com
    ms.test.com.pabports = 389
    ms.test.com.pabbinddns = "cn=Directory Manager"
    ms.test.com.pabpasswds = 1xxxxxx
    # <pabhost.pabport>.abhostport parameter helps to map the source PAB ldap server to #destination address book ldap server
    # if this is not set then it will fallback to use the same host and port of PAB to construct #the psRoot for the user
    dr.test.com.abhostport = dr.test.com:389As soon as I run runMigrate.sh, I see:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletException
            at com.sun.uwc.common.util.MigratePab.initGlobals(Unknown Source)
            at com.sun.uwc.common.util.MigratePab.initGlobals(Unknown Source)
            at com.sun.uwc.common.util.MigratePab.main(Unknown Source)Can anybody suggest what's wrong in the configuration? How can I do batch migration? Is there any alternative / script? How can I set nswmextendedprefs, mepabmigration?
    Help in this regard is really appreciated.
    I shall look forward to your response.
    Edited by: mr.chhunchha on May 29, 2008 3:02 AM
    Edited by: mr.chhunchha on May 29, 2008 3:44 AM

    mr.chhunchha wrote:
    I got script running, howeve facing some exceptions like
    exception while setting value of psroot as null:null
    Sounds like another known issue -- bug #6351475 - "UWC: runmigrate.sh--'Exception while setting value of psRoot as null:null'"
    Make sure that you replace any instances of <hostname>.pabbindpasswds with <hostname>.pabpasswds in the /var/opt/SUNWuwc/WEB-INF/config/migrate.properties file.
    LDAPException when tried to get conn from pool:fatal error: all LDAP servers are down.however I checked and all servers are up.This may be due to the same issue. It is entirely possible that the bind is not succeeding (you could also look at the directory server logs to see if you can see a failed bind request when you run the runMigrate.sh command).
    also getting exception in console
    IllegalBlocksizeException: Input length must be multiple of 8 when decrypting with padded cipher.any idea for this multiple problems.The passwords in the migrate.properties files should be encrypted. You can use the /opt/SUNWuwc/sbin/manage-password utility to generate the encrypted version of the password and update in migrate.properties e.g.
    bash-3.00# ./manage-password -e -d /var/opt/SUNWuwc
    Option -ep is selected
    /usr/jdk/entsys-j2se/bin/java -classpath /opt/SUNWuwc/lib/classes:/usr/jdk/entsys-j2se/lib/classes.zip com.sun.msg.install.util.UWCEncryptionManager -ep /var/opt/SUNWuwc
    Type quit to exit the program
    Enter text to be encrypted:secret
    Encrypted String is:- se3q0FvNtzk=Then replace any instances of the password secret with se3q0FvNtzk=
    Regards,
    Shane.

  • Delete File From Mounted Volume

    Hey,
    I am trying to delete the "Calendar Cache" files on both my laptop PowerBook G4 and the Mac Pro Quad that I sync my calendars with. I am using ChronoSync and the individual calendars sync fine, but there is a little house keeping needed with the cache file. They need to be deleted on both systems in order to "refresh" the views of the calendars.
    So after the sync of calendars, I have the software initiating an AppleScript that deletes both. Here's the script:
    +(* PowerBook Files / delete cache file *)+
    +(* Please note that both systems have the same username. This may be arise a conflict *)+
    +tell application "Finder"+
    + activate+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "useranthony"+
    +end tell+
    +(* Mac Pro Quad/ delete cache file *)+
    +tell application "Finder"+
    + mount volume "afp://10.10.10.1/anthonyabraira"+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "/volumes/useranthony"+
    +end tell+
    I am having trouble addressing a deletion on the networked Mac Pro Quad.

    why send it to the trash — just delete it...
    (* PowerBook Files / delete cache file )
    try
            do shell script "rm -rf /Library/Calendars/Calendar\\ Cache"
    end try
    you may need a delay for the Mac Pro Quad to mount
    ( Mac Pro Quad/ delete cache file *)
    --the mount and then the delay
    delay 4
    try
            do shell script "rm -rf /THE-CORRECT/PATH-HERE/Library/Calendars/Calendar\\ Cache"
    end try
    Tom

  • How to delete the members in one dimension use the maxl script

    i have question that i want to delete the members in one dimension useing the maxl script, but i do not know how to do it. can the maxl delete the members in one dimension? if can, please provide an sample script, thank you so mcuh.

    MaxL does not have commands to alter an outline directly, except the reset command which can delete all dimensions but not members selectively. The best you could do would be to run a rules file (import dimensions) using a file that contains the members you want to keepload rule for the dimension. As typical the warning is to test this first before you do it on a production database

  • Error while deleting a mapping

    Hi all,
    I am getting the following error while deleting a mapping. My client version is 10.2.0.4.36
    API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    oracle.wh.util.Assert: API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
         at oracle.wh.util.Assert.owbAssert(Assert.java:51)
         at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
         at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
         at oracle.wh.ui.common.WhDeletion.doActualDel(WhDeletion.java:512)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:203)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:283)
         at oracle.wh.ui.jcommon.tree.WhTree.deleteItem(WhTree.java:346)
         at oracle.wh.ui.console.commands.DeleteCmd.performAction(DeleteCmd.java:50)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks in advance!
    Sebastian

    These type of Internal Errors are all too common in OWB and it's difficult to diagnose the exact problem.
    I'd suggest closing the Design Centre, going back in and trying to delete it again, this will often resolve Internal errors.
    There's also an article on Metalink Doc ID: 460411.1 about errors when deleting mappings but it's specific to an ACLContainer error, so may or may not be of use.
    One of the suggestions is to connect as the Repository Owner rather than a User and try to delete the mapping.
    Cheers
    Si
    Edited by: ScoobySi on Sep 10, 2009 11:44 AM

Maybe you are looking for

  • WSUS service failure and uninstall error 0x80070643

    Hello I recently had a drive fail in a RAID 1 array on a Windows Server 2008 Standard SP2 domain controller. The drive was replaced and the array successfully rebuilt the drive. Our domain comprises a Win2k8 DC (which WSUS is installed on), a W2k3 DC

  • E-Recruitment and IBM portal integration

    Dear Experts, I am going to start working on new project. there they want to implement the E-recruitment. but they are not going to use ESS /MSS. they have their IBM portal in place. can some one tell me how to integrate the SAP ECC and IBM portal. t

  • "Don't load tabs until selected" option no longer there?

    I have installed a new version of Firefox (long overdue) from version 17 to 31. I was able to customize everything to my liking after some fiddling around but one setting remains that I cannot rectify. Firefox's options menu no longer seems to includ

  • Color Swatch Palette is Stuck

    I am a designer working for a printer. We have a customer who is trying to add a new color to her CS4 document. She is selecting New Color Swatch - Spot - Pantone Solid Coated but is getting Process Coated DS colors -- the palette is stuck. Any sugge

  • Mavericks Preemption (Force Quit Broken)

    Does anyone know how I can configure Mavericks to remain interactive even under high memory pressure?  (Don't care about maximizing benchmarks; care about always being able to move the mouse and force quit a runaway process). Unlike previous verison