King0770-Notes-Verify-LDAP-Passwords: Difference between revisions
(Created page with "If you are using multiple LDAP nodes in your setup, and you want to verify the ldap passwords, you can run the following commands as the zimbra user from each ldap node. <co...") |
No edit summary |
||
Line 1: | Line 1: | ||
If you are using multiple LDAP nodes in your setup, and you want to verify the ldap passwords, you can run the following commands as the zimbra user from each ldap node. | If you are using multiple LDAP nodes in your setup, and you want to verify the ldap passwords, you can run the following commands as the zimbra user from <strong>each</strong> ldap node. | ||
<code><pre> | <code><pre> |
Revision as of 20:41, 1 December 2015
If you are using multiple LDAP nodes in your setup, and you want to verify the ldap passwords, you can run the following commands as the zimbra user from each ldap node.
1. source ~/bin/zmshutil; zmsetvars
2. ldapwhoami -x -D uid=zmamavis,cn=appaccts,cn=zimbra -H ldap://ldap-master.domain.com:389 -w $ldap_amavis_password
3. ldapwhoami -x -D uid=zmbes-searcher,cn=appaccts,cn=zimbra -H ldap://ldap-master.domain.com:389 -w $ldap_bes_searcher_password
4. ldapwhoami -x -D uid=zmnginx,cn=appaccts,cn=zimbra -H ldap://ldap-master.domain.com:389 -w $ldap_nginx_password
5. ldapwhoami -x -D uid=zmpostfix,cn=appaccts,cn=zimbra -H ldap://ldap-master.domain.com:389 -w $ldap_postfix_password
6. ldapwhoami -x -D "cn=config" -H ldap://ldap-master.domain.com:389 -w $ldap_root_password
7. ldapwhoami -x -D uid=zimbra,cn=admins,cn=zimbra -H ldap://ldap-master.domain.com:389 -w $zimbra_ldap_password
8. ldapwhoami -x -D uid=zmreplica,cn=admins,cn=zimbra -H ldap://ldap-master.domain.com:389 -w $ldap_replication_password
You should see the following.
dn:uid=zmamavis,cn=appaccts,cn=zimbra
dn:uid=zmbes-searcher,cn=appaccts,cn=zimbra
dn:uid=zmnginx,cn=appaccts,cn=zimbra
dn:uid=zmpostfix,cn=appaccts,cn=zimbra
dn:cn=config
dn:uid=zimbra,cn=admins,cn=zimbra
dn:uid=zmreplica,cn=admins,cn=zimbra