Difference between revisions of "Zimbra ldaps"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
https://wiki.zimbra.com/wiki/How_to_enable_ldaps | https://wiki.zimbra.com/wiki/How_to_enable_ldaps | ||
+ | |||
+ | ``` | ||
+ | source ~/bin/zmshutil | ||
+ | zmsetvars | ||
+ | echo $zimbra_ldap_password | ||
+ | echo $zimbra_ldap_userdn | ||
+ | ldapsearch -x -H $ldap_master_url -D $zimbra_ldap_userdn -w $zimbra_ldap_password "mail=*" | ||
+ | ``` | ||
+ | |||
``` | ``` | ||
su - zimbra | su - zimbra |
Revision as of 17:58, 13 May 2023
https://wiki.zimbra.com/wiki/How_to_enable_ldaps
source ~/bin/zmshutil zmsetvars echo $zimbra_ldap_password echo $zimbra_ldap_userdn ldapsearch -x -H $ldap_master_url -D $zimbra_ldap_userdn -w $zimbra_ldap_password "mail=*"
su - zimbra zmlocalconfig -e ldap_master_url=ldaps://mymaster.somewhere.com:636 zmlocalconfig -e ldap_url=ldaps://myreplica.somewhere.com:636 zmlocalconfig -e ldap_starttls_supported=0 zmlocalconfig -e ldap_port=636 zmcontrol stop zmcontrol start