Difference between revisions of "Zimbra ldaps"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
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 | ||
Line 9: | Line 18: | ||
zmcontrol start | zmcontrol start | ||
``` | ``` | ||
+ | |||
+ | ``` | ||
+ | zmldappasswd foo | ||
+ | ``` | ||
+ | http://docs.zimbra.com/docs/ne/6.0.8/administration_guide/A_app-command-line.20.03.html |
Latest revision as of 18:38, 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
zmldappasswd foo
http://docs.zimbra.com/docs/ne/6.0.8/administration_guide/A_app-command-line.20.03.html