Closed talkingmoose closed 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}
Add "ldap port:DirectoryServerSSLPort" to the configuration portion of the script.