Results 1 to 5 of 5

Thread: How to change zimbraId for an account?

  1. #1
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default How to change zimbraId for an account?

    Hi

    A recent upgrade of a server seems to have wiped out some ldap accounts. The sql and mailstore seems to be intact, so I want to create a new account and then repoint the ldap account to the old sql/mailstore. In order to do this I need to reset zimbraId, however I can't do this through zmprov as it's marked as an immutable field.

    Can I override this? If not, I can do this through ldapmodify but in recent versions (this is 6.0rc1) the dit manager dn isn't stored in slapd.conf anymore and I can't work out how to bind with sufficient privileges to update this attribute.

    Any ideas?

  2. #2
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    717
    Rep Power
    9

    Default

    So zmlocalconfig -s zimbra_ldap_password zimbra_ldap_userdn doesn't work?

    Worst case:

    slapcat > file

    edit file

    Move everything in /opt/zimbra/openldap-data except DB_CONFIG elsewhere

    slapadd < file

  3. #3
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    thanks, just found that here:
    Ajcody-LDAP-Topics - Zimbra :: Wiki
    very useful cheat sheet.

    creating a new blank account and then repointing zimbraId to the old sql account seems to the trick nicely. dunno why it wiped half the accounts out, guess that will teach me not to take backups..

  4. #4
    rgv151 is offline Junior Member
    Join Date
    Mar 2009
    Location
    Vietnam
    Posts
    6
    Rep Power
    6

    Default

    I tried to change zimbraId attr in LDAP and everything works well, except "No such user exists" message.
    User is able to login/send/receive email, but in Zimbra admin page I unable to edit or view aliases. Admin page keep showing "No such user exists" message.
    Help needed !!!

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Why are you changing that What are you trying to achieve

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. Zimbra Desktop won't resolve hostnames
    By btriem in forum Error Reports
    Replies: 10
    Last Post: 09-09-2009, 08:30 AM
  3. Replies: 4
    Last Post: 03-31-2008, 11:35 PM
  4. change attribute for all account at one time
    By chandu in forum Administrators
    Replies: 1
    Last Post: 02-23-2008, 03:54 AM
  5. change zimbraNotebookAccount account
    By cscott in forum Administrators
    Replies: 2
    Last Post: 02-11-2008, 02:09 PM

Posting Permissions

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