View Single Post
  #2 (permalink)  
Old 02-11-2008, 06:47 PM
illc0mm illc0mm is offline
Junior Member
 
Posts: 9
Lightbulb Solved?

Well, I'm letting it sit for a day before I officially call it solved, but it looks like there's a bug in zmprov that I'll try to document later. However, the work around is as follows (thanks to Tony with Zimbra Support for the procedure)

This involves modifying your LDAP store by hand, not recommended unless you're out of options.

First, you need to find your ldap root password:

Quote:
$ zmlocalconfig -s | grep -i ldap_root_password
ldap_root_password = secret
Next, make sure you can query the account with the incorrect zimbraMailHost setting:
Quote:
$ ldapsearch -x -h `zmhostname` -D uid=zimbra,cn=admins,cn=zimbra -w secret "(mail=user.email@zimbra.domain.com)" dn zimbraMailHost

# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (mail=user.email@zimbra.domain.com)
# requesting: dn zimbraMailHost
#

# user.email, people, zimbra.domain.com
dn: uid=user.email,ou=people,dc=zimbra,dc=domain,dc=co m
zimbraMailHost: zimbra.domain.com

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
Next, modify the account:

Quote:
$ ldapmodify -x -h `zmhostname` -D uid=zimbra,cn=admins,cn=zimbra -w secret

dn: uid=user.email,ou=people,dc=zimbra,dc=domain,dc=co m

changetype: modify

replace: zimbraMailHost

zimbraMailHost: zimbra.domain.org



modifying entry "uid=user.email,ou=people,dc=zimbra,dc=domain,dc=c om"


dn: uid=user.email,ou=people,dc=zimbra,dc=domain,dc=co m

changetype: modify

replace: zimbraMailTransport

zimbraMailTransport: lmtp:zimbra.domain.org:7025



modifying entry "uid=user.email,ou=people,dc=zimbra,dc=domain,dc=c om"

CTRL-C
Finally restart the Zimbra mailbox

Quote:
$ zmmailboxdctl restart
Reply With Quote