Results 1 to 5 of 5

Thread: zmprov not deleting account references in mySQL?

  1. #1
    Join Date
    Jun 2006
    Posts
    72
    Rep Power
    9

    Question zmprov not deleting account references in mySQL?

    I have been cleaning up my zimbra users and after deleting about 130 users yesterday, when I pull my reports for users and last logins i still get about 20 reports of users not existing in the ldap database even though mySQL returns results for them. So is there something I need to do other than
    " zmprov da user@domain.tld " when deleting accounts from CLI ?

    This is on zimbra 3.1 btw, I know I'm working on an older version and hope to be able to upgrade in the next month or two but for right now this is the only problem I seem to be having. It causes two problems for me, first and foremost being the extra processor time being used to query ldap based on what the mysql database returns for users. Second being that it causes lots of ugly errors in my script.

    Thanks,
    kyle
    Last edited by kechols; 09-22-2006 at 11:10 AM.

  2. #2
    Join Date
    Sep 2005
    Posts
    78
    Rep Power
    10

    Default

    Marc posted a script in this thread

    http://www.zimbra.com/forums/showthread.php?t=4359

    that cleans up mailboxes that don't have associated accounts.

  3. #3
    Join Date
    Jun 2006
    Posts
    72
    Rep Power
    9

    Default

    Thanks, that script seems to be working, don't know how i missed that thread.

  4. #4
    Join Date
    Sep 2005
    Posts
    78
    Rep Power
    10

    Default

    Cool. I forgot to mention that the 4.0 version of zmprov deletes both the account and the associated mailbox.

  5. #5
    Join Date
    Jun 2006
    Posts
    72
    Rep Power
    9

    Default

    Only problem I'm having is zmpurgemessages reports an error "Received SOAP fault: authentication failed for zimbra" immediately, I'm assuming it should be ran as zimbra (and thus shouldn't need to authenticate) but I'm not sure how the SOAP requests work just yet.

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Replies: 9
    Last Post: 04-14-2007, 08:31 AM
  3. Replies: 18
    Last Post: 03-20-2006, 01:22 PM
  4. Can't start MySQL to init db - Gentoo
    By fak3r in forum Installation
    Replies: 3
    Last Post: 10-10-2005, 06:59 PM
  5. more fedora install problems
    By jlynch3 in forum Installation
    Replies: 13
    Last Post: 09-14-2005, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •