talkingmoose / Outlook-Exchange-Setup-5

Automatically configure Outlook 2016 for Mac to connect to Exchange
91 stars 18 forks source link

Add LDAP port setting to configuration #16

Closed talkingmoose closed 8 years ago

talkingmoose commented 8 years ago

Add "ldap port:DirectoryServerSSLPort" to the configuration portion of the script.

talkingmoose commented 8 years ago

Modified this section to include the "ldap port" property during setup.

set newExchangeAccount to make new exchange account with properties ¬ {name:"Mailbox - " & userFullName, user name:domainPrefix & userShortName, full name:userFullName, email address:emailAddress, server:ExchangeServer, use ssl:ExchangeServerRequiresSSL, port:ExchangeServerSSLPort, ldap server:DirectoryServer, ldap needs authentication:DirectoryServerRequiresAuthentication, ldap use ssl:DirectoryServerRequiresSSL, ldap port:DirectoryServerSSLPort, ldap max entries:DirectoryServerMaximumResults, ldap search base:DirectoryServerSearchBase, receive partial messages:downloadHeadersOnly, background autodiscover:disableAutodiscover}