Difference between revisions of "Zimbra ldaps"
Jump to navigation
Jump to search
(Created page with "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_su...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | 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 | ||
zmlocalconfig -e ldap_master_url=ldaps://mymaster.somewhere.com:636 | zmlocalconfig -e ldap_master_url=ldaps://mymaster.somewhere.com:636 | ||
Line 6: | Line 17: | ||
zmcontrol stop | zmcontrol stop | ||
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