Verify LDAP password

Verify LDAP Password

   KB 24355        Last updated on 2021-09-22  

(0 votes)


  • We can use below commands to verify LDAP passwords.
source ~/bin/zmshutil; zmsetvars
ldapwhoami -ZZ -x -D uid=zmamavis,cn=appaccts,cn=zimbra -H ldap://`zmhostname`:389 -w $ldap_amavis_password
ldapwhoami -ZZ -x -D uid=zmbes-searcher,cn=appaccts,cn=zimbra -H ldap://`zmhostname`:389 -w $ldap_bes_searcher_password
ldapwhoami -ZZ -x -D uid=zmnginx,cn=appaccts,cn=zimbra -H ldap://`zmhostname`:389 -w $ldap_nginx_password
ldapwhoami -ZZ -x -D uid=zmpostfix,cn=appaccts,cn=zimbra -H ldap://`zmhostname`:389 -w $ldap_postfix_password
ldapwhoami -ZZ -x -D cn=config -H ldap://`zmhostname`:389 -w $ldap_root_password
ldapwhoami -ZZ -x -D uid=zimbra,cn=admins,cn=zimbra -H ldap://`zmhostname`:389 -w $zimbra_ldap_password
ldapwhoami -ZZ -x -D uid=zmreplica,cn=admins,cn=zimbra -H ldap://`zmhostname`:389 -w $ldap_replication_password

Submitted by: Keshav Gaur
Verified Against: ZCS 8.8 Date Created: 2021-09-22
Article ID: Date Modified: 2021-09-22

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search