Results 1 to 10 of 10

Thread: account and alias the same - cannot delete

  1. #1
    mthostenson is offline Member
    Join Date
    Dec 2006
    Posts
    11
    Rep Power
    8

    Default [SOLVED] - account and alias the same - cannot delete

    Everything working fine on the Zimbra 7.1.1 server but for some reason, I ended up with a user account that has the same email address as an alias. Never seen that before.

    I have tried to remove the alias via the web admin interface and get:
    Server error encountered
    Message: no such alias: user@domain.com Error code: account.NO_SUCH_ALIAS Method: [unknown] Details:soap:Sender

    Also tried removing via zmprov and get:
    zmprov raa user@domain.com user@domain.com
    ERROR: account.NO_SUCH_ALIAS (no such alias: user@domain.com)

    Also tried removing the entire account:
    zmprov da user@domain.com
    ERROR: account.NO_SUCH_ALIAS (no such alias: user@domain.com)

    Any help would be greatly appreciated.
    Last edited by mthostenson; 09-28-2011 at 11:12 PM.

  2. #2
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    Try with "zmprov -l" and see if that makes a difference
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  3. #3
    mthostenson is offline Member
    Join Date
    Dec 2006
    Posts
    11
    Rep Power
    8

    Default

    tried that already...looks like i may have to try using ldap browser to edit the alias and then remove it

    i will try and post results

  4. #4
    mthostenson is offline Member
    Join Date
    Dec 2006
    Posts
    11
    Rep Power
    8

    Default

    After reading up on editing with ldapbrowser...I am not going to go that route. Some Zimbra employees have stated not to do this.

    Any other recommendations would be much appreciated.

    Thanks!

  5. #5
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    Can you try "zmprov da <zimbraId>" where <zimbraId> is the value from:

    zmprov ga user@domain.com zimbraId
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  6. #6
    mthostenson is offline Member
    Join Date
    Dec 2006
    Posts
    11
    Rep Power
    8

    Default

    still gives me the same response:

    zmprov -l da 99999999-9999-9999-9999-999999999999
    ERROR: account.NO_SUCH_ALIAS (no such alias: user@domain.com)

    I haven't ever seen where I have been able to accidentally add an email alias to an account that is the same as the primary email address.

    weird

  7. #7
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    Alright, well off to LDAP it is.

    When you have an alias, this is what Zimbra creates:

    In the user account (dn: uid=user,ou=people,dc=domain,dc=com), there are two attributes that are added for the alias:

    mail: alias@domain.com
    zimbraMailAlias: alias@domain.com

    Then it also creates another dn for the alias: (dn: uid=alias,ou=people,dc=domain,dc=com with the objectClass of zimbraAlias). In your case, since the alias and the account are the same, that dn is the same.

    So you are going to want to delete ONLY the "zimbraMailAlias: user@domain.com" from the dn for the user.

    If you want me to double-check your LDAP before you do this, send me a PM and I will give you my email address for you to send a dump of your LDAP config to make sure that nothing gets hosed up.
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  8. #8
    mthostenson is offline Member
    Join Date
    Dec 2006
    Posts
    11
    Rep Power
    8

    Default

    thanks for the quick reply

    I am going to try to focus on leaving the alias as it is and simply change the primary account email address instead using zmprov -l ma with atrributes

    do you know what the syntax would be for that?

  9. #9
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    zmprov renameAccount name@domain newName@domain

    You probably still won't be able to remove the alias, since it sounds like the dn for the alias is missing in LDAP. I'd recommend trying to get that resolved at some point, just to make sure it doesn't break an upgrade or anything.
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  10. #10
    mthostenson is offline Member
    Join Date
    Dec 2006
    Posts
    11
    Rep Power
    8

    Default

    Ended up having to use softerra ldap administrator to go in and remove ONLY the zimbraMailAlias attribute on that account

    after that I was able to delete the account and the domain associated with it.

    Thanks again Kris for helping with this!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 03-31-2008, 11:35 PM
  2. Phantom account and alias
    By Rick Baker in forum Administrators
    Replies: 0
    Last Post: 10-05-2007, 09:20 PM
  3. Replies: 3
    Last Post: 03-04-2007, 10:53 PM
  4. Rogue alias account can't be deleted
    By dwill in forum Administrators
    Replies: 0
    Last Post: 11-30-2006, 06:14 AM
  5. Error when adding account : cannot add alias
    By Bingo in forum Administrators
    Replies: 5
    Last Post: 06-21-2006, 03:32 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
  •