{"id":42097,"date":"2019-03-17T00:00:00","date_gmt":"2019-03-16T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/kak-integrirovat-zimbra-collaboration-suite-c-active-directory"},"modified":"2020-02-18T13:44:53","modified_gmt":"2020-02-18T10:44:53","slug":"kak-integrirovat-zimbra-collaboration-suite-c-active-directory","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/kak-integrirovat-zimbra-collaboration-suite-c-active-directory","title":{"rendered":"How to Integrate Zimbra Collaboration Suite with Active Directory","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Many enterprises, especially in the CIS region, already have a well-established IT infrastructure in which management and user authentication often rely on tools like Microsoft's Active Directory. When these enterprises begin to plan the implementation of Zimbra Collaboration Suite, they often question whether ZCS can seamlessly fit into their infrastructure and utilize Microsoft AD for user authentication. Well, Zimbra is fully capable of working in conjunction with Active Directory, and now we will explain how to achieve this.<\/p>\n<p><img decoding=\"async\" alt=\"How to Integrate Zimbra Collaboration Suite with Active Directory\" src=\"\/wp-content\/uploads\/2019\/03\/9750fd9e9479b34822d9fed4a228c5da.png\" style=\"display:block;margin: 0 auto;\" \/><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p>Let\u2019s assume that in your enterprise's infrastructure, Active Directory is located in the domain <b>domain.local<\/b>, and Zimbra is intended to be installed on the domain <b>mail.domain.com<\/b>. During the integration of Zimbra and Active Directory, we will connect AD as an external LDAP for ZCS, and therefore we recommend immediately prohibiting users from changing their passwords. It's also worth noting that to verify the success of the integration between Zimbra and Active Directory, it is advisable to have at least one account with a known username\/password pair for testing the successful connection of the two information systems. <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-dronten\/\"   title=\"server\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"2511\">server<\/a> Connecting AD to ZCS is done in the Zimbra admin console at<\/p>\n<p>. Here, we will need to select the Configure option in the left sidebar, and then the sub-item Domains. In the list of domains, select the one we will use in tandem with AD, and by right-clicking on the selected domain, choose the \u2018Configure Authentication\u2019 option. After that, a dialog for configuring the external LDAP will appear on the screen, where we will \u2018pair\u2019 Zimbra with AD. <b>mail.domain.com<\/b>On the Authentication Mode page, select the \u2018External Active Directory\u2019 option, after which, on the Authentication Settings page, enter the data for<\/p>\n<p>with AD. You will need to enter the domain name, server IP address, and the port used to access AD, while the next page titled LDAP Bind should be left blank. <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-newyork\/\"   title=\"server\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"2649\">server<\/a> With AD. You will need to enter the domain name, the server IP address, and the port used to access AD, while we suggest leaving the next page titled LDAP Bind blank.<\/p>\n<p><img decoding=\"async\" alt=\"How to Integrate Zimbra Collaboration Suite with Active Directory\" src=\"\/wp-content\/uploads\/2019\/03\/16412b0e263b7aeb9104e3483b0ce127.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nIn the Authentification Config Summary window, you can verify the successful connection of Zimbra to AD by entering a valid username\/password pair for any user. If the connection is successful, Zimbra will automatically calculate the Bind DN for that user. After this, you can leave the External Group Settings and Domain Configuration Complete pages unchanged. This completes the integration of Zimbra with AD, and we now need to create existing users from AD in Zimbra to successfully synchronize between the information systems.<\/p>\n<p>If there are only a few accounts, this can be done manually, but if there are many accounts, it is best to automate this process using the Auto-provisioning feature. To do this, we will need to access the Zimbra server and perform a series of commands in the command line:<\/p>\n<pre><code class=\"plaintext\">su zimbra\nzmprov md domain.com zimbraAutoProvMode LAZY\nzmprov md domain.com zimbraAutoProvLdapURL \"ldap:\/\/domain.local:389\"\nzmprov md domain.com zimbraAutoProvLdapStartTlsEnabled FALSE\nzmprov md domain.com zimbraAutoProvLdapAdminBindDn \"zimbra@domain.local\"\nzmprov md domain.com zimbraAutoProvLdapAdminBindPassword PassworD\nzmprov md domain.com zimbraAutoProvLdapSearchBase \"ou=User,dc=domain,dc=local)\"\nzmprov md domain.com zimbraAutoProvLdapSearchFilter \"(samAccountName=%u)\"\nzmprov md domain.com zimbraAutoProvLdapBindDn \"%u@%d\"\nzmprov md domain.com zimbraAutoProvAccountNameMap sAMAccountName\nzmprov md domain.com +zimbraAutoProvAttrMap \"sn=sn\" +zimbraAutoProvAttrMap \"description=description\" +zimbraAutoProvAttrMap \"cn=displayName\" +zimbraAutoProvAttrMap \"givenName=givenName\" +zimbraAutoProvAttrMap \"zimbraMailAlias=mail\"\nzmprov md domain.com zimbraAutoProvNotificationFromAddress admin@domain.com\nzmprov md domain.com zimbraAutoProvNotificationSubject \"We are happy to welcome you aboard our mail server\"\nzmprov md domain.com zimbraAutoProvNotificationBody \"Your account has been created automatically. Please read the email usage instructions by following this link\"\nzmprov md domain.com zimbraAutoProvBatchSize 20\nzmprov md domain.com zimbraAutoProvAuthMech LDAP\nzmcontrol restart<\/code><\/pre>\n<p>\nWith this configuration, a user account will be automatically created on the Zimbra server at the first attempt to log in to the web client with the existing username\/password pair. Note that in some cases, it may be necessary to change the port number from 389 to 3268 for auto-provisioning to work correctly.<\/p>\n<p>After performing all these steps, your users will be able to log into their email on the Zimbra server using the username\/password from AD, significantly simplifying IT infrastructure management for the enterprise.<\/p>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/zimbra\/blog\/437240\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041c\u043d\u043e\u0433\u0438\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u0438 \u0421\u041d\u0413, \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u0418\u0422-\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043a\u0430\u043a Active Directory \u043e\u0442 Microsoft. \u0418 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0443 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0439, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0435 Zimbra Collaboration Suite, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u0441\u043c\u043e\u0436\u0435\u0442 \u043b\u0438 ZCS \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0432\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0432 \u0438\u0445 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Microsoft AD [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-42097","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u043d\u043e\u0433\u0438\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u0438 \u0421\u041d\u0413, \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u0418\u0422-\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043a\u0430\u043a Active Directory \u043e\u0442 Microsoft.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/kak-integrirovat-zimbra-collaboration-suite-c-active-directory\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041a\u0430\u043a \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c Zimbra Collaboration Suite c Active Directory | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u043d\u043e\u0433\u0438\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u0438 \u0421\u041d\u0413, \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u0418\u0422-\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043a\u0430\u043a Active Directory \u043e\u0442 Microsoft.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/kak-integrirovat-zimbra-collaboration-suite-c-active-directory\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-03-16T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T10:44:53+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47How to Integrate Zimbra Collaboration Suite with Active Directory | ProHoster","description":"Many businesses, especially in the CIS region, already have an established IT infrastructure, where tools like Microsoft Active Directory are often used for user management and authentication.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/kak-integrirovat-zimbra-collaboration-suite-c-active-directory","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041a\u0430\u043a \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c Zimbra Collaboration Suite c Active Directory | ProHoster","og:description":"\u041c\u043d\u043e\u0433\u0438\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u0438 \u0421\u041d\u0413, \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u043b\u043e\u0436\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u0418\u0422-\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043a\u0430\u043a Active Directory \u043e\u0442 Microsoft.","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/kak-integrirovat-zimbra-collaboration-suite-c-active-directory","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-03-16T21:00:00+00:00","article:modified_time":"2020-02-18T10:44:53+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"42097","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-09 21:54:08","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 00:06:38","updated":"2026-02-09 21:54:08","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/42097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=42097"}],"version-history":[{"count":2,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/42097\/revisions"}],"predecessor-version":[{"id":159931,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/42097\/revisions\/159931"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=42097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=42097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=42097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}