Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-2011, 10:22 AM
Member
 
Posts: 11
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..
Reply With Quote
  #2 (permalink)  
Old 09-28-2011, 05:26 PM
Outstanding Member
 
Posts: 717
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
Reply With Quote
  #3 (permalink)  
Old 09-28-2011, 07:46 PM
Member
 
Posts: 11
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
Reply With Quote
  #4 (permalink)  
Old 09-28-2011, 08:45 PM
Member
 
Posts: 11
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!
Reply With Quote
  #5 (permalink)  
Old 09-28-2011, 08:49 PM
Outstanding Member
 
Posts: 717
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
Reply With Quote
  #6 (permalink)  
Old 09-28-2011, 08:59 PM
Member
 
Posts: 11
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
Reply With Quote
  #7 (permalink)  
Old 09-28-2011, 09:08 PM
Outstanding Member
 
Posts: 717
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
Reply With Quote
  #8 (permalink)  
Old 09-28-2011, 09:12 PM
Member
 
Posts: 11
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?
Reply With Quote
  #9 (permalink)  
Old 09-28-2011, 09:15 PM
Outstanding Member
 
Posts: 717
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
Reply With Quote
  #10 (permalink)  
Old 09-28-2011, 11:11 PM
Member
 
Posts: 11
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.