前一篇「在 MDaemon 通讯录设置公用联系人 – 手动导入」写的是手动上传 csv 文件的方式来设置公用通讯录,这篇是让 MDaemon 直接与 AD 同步联系人信息,标题写手动同步是因为需要自己去点击,才会进行同步。
环境:MDaemon 16.0.4
◎ 點選「Setup」-「Public Folder Manager」。

◎ 點選「Enable public folders」來啟用公用通訊錄。

◎ 點選「Accounts」-「Account Settings」。

◎ 點選「Active Directory」底下的「Authentication」。

※ 輸入完可以點選「Test these settings」做測試。
Bind DN:網域\管理者帳號 Password:網域管理者密碼 Base entry DN:AD Server IP Search filter:篩選參數 # 上圖表示:篩選出 displayName、mail 有值的物件, # 並排除 mail 屬性為 null 或 No-Mail-Group 的物件。
◎ 點選「Active Directory」底下的「Monitoring」,並勾選「Monitor Active Directory and update public address books」。
◎ 先按下「Apply」,再按「Perform full Active Directory scan now」。

※ 這邊下方雖然有每 30 秒做查詢的欄位,但實際上不會套用在公用通訊錄的更新上,因此每次要同步時,要手動點選。
◎ 接著就可以登入進 Webmail,在公用通訊錄即可找到各域名的 AD 聯絡人。

※ 在異動 Public Folder 的設定時,如果 User 已經登入 Webmail,在完成設定後,User needs to log in again to see the correct environment。
It's a bit unfortunate that MDaemon automatically categorizes based on the part after the @,Contacts from different domains are placed under different domain public address books,If I want to make a global address book,I have to move them manually。
If the imported information is different from what was expected,可以開啟 App\ActiveDS.dat 檔案,修改 MDaemon 與 LDAP 欄位屬性的對應即可。








留下回复