Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After restoring without the -ro arguement ldap failed #160

Open
wh4u opened this issue Apr 14, 2021 · 2 comments
Open

After restoring without the -ro arguement ldap failed #160

wh4u opened this issue Apr 14, 2021 · 2 comments

Comments

@wh4u
Copy link

wh4u commented Apr 14, 2021

ISSUE TYPE
  • Bug Report
ENVIRONMENT VERSION
  • Zmbackup Version: 1.2.5
  • Zimbra Version: Release 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18_64 FOSS edition, Patch 8.8.15_P20
  • Linux Distribution & Version: Ubuntu 18.04.5 LTS

i tried to restore a mailbox using
zmbackup -r -ro inc-20210413013001 [email protected] [email protected]

command finished successfully but the mailbox is empty.

I accidently submitted the command in one of my tries, forgot to give the -ro argument
zmbackup -r inc-20210413013001 [email protected] [email protected]

And then the ldap failed.

[] FATAL: failed to initialize LDAP client
com.zimbra.cs.ldap.LdapException: LDAP error: : invalid credentials

@wh4u wh4u changed the title After After restoring without the -ro arguement ldap failed Apr 14, 2021
@nugzarg
Copy link

nugzarg commented Jun 2, 2021

The same problem with version 1.2.6. After trying to restore account from backup, zimbra is completely damaged. Some services (like zmmaiboxd, zmlogd) are crashed. Starting of these services is not possible. It seems that this tool damages zimbras LDAP database.
This tool is very dangerous! Do not use it on production server! If you wish to test it, have a backup of LDAP database (make it with /opt/zimbra/libexec/zmslapcat).

@mathcuei
Copy link

mathcuei commented Aug 6, 2021

The same problem with version 1.2.6. After trying to restore account from backup, zimbra is completely damaged. Some services (like zmmaiboxd, zmlogd) are crashed. Starting of these services is not possible. It seems that this tool damages zimbras LDAP database.
This tool is very dangerous! Do not use it on production server! If you wish to test it, have a backup of LDAP database (make it with /opt/zimbra/libexec/zmslapcat).

Same ENVIRONMENT and same problem. Corrupt ldap and services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants