OSX 10.9 Maverick add a LDAP server via script
I use applescript to add a LDAP sever on 10.8, but after the 10.9 released, I found the script cannot use any more.
Seems is the new Mail app doesn't support LDAP sever , it is integrated to Internet Accounts
However the SAMPLE script is still the same. ( /Library/Scripts/Mail\ Scripts/Create\ New\ LDAP\ Server.scpt )
Does any one know how to config internet accounts via script (BASH script is OK too)?
the new mail app does not understand
make new ldap server with properties {name:theName, host name:theAddress, search base:theSearchBase, Çclass ldpoÈ:thePort, scope:theScope}
any more.
LDAP server account Maverick 10.9