csattribute 公用程式可管理 Calendar Server 使用者或資源 LDAP 項目屬性。指令包括︰
add,將 LDAP 屬性和值增加至指定目標 (使用者或資源物件)。
list,列出目標物件的屬性。
delete,從目標中刪除屬性。
如果您的站點使用的是 LDAP CLD 外掛程式,請勿在嘗試指定新的後端主機伺服器時使用 csattribute 變更 icsDWPHost 屬性。修改 icsDWPHost 不會在新的後端主機上建立新的行事曆。如需更多資訊,請參閱第 6 章, 配置跨多台機器的行事曆資料庫分布
Calendar Server 可以處於執行中或停止狀態。
您必須以執行 Calendar Server 的使用者或群組 (在安裝期間指定,例如 icsuser 和 icsgroup) 的身份或以 root 身份登入。
csattribute [-q|-v] -a attribute=value [-t resource | user] [-d domain] add target csattribute [-q|-v] -a attribute[=value] [-t resource | user] [-d domain] delete target csattribute [-q | -v] [-t resource | user] [-d domain] list target |
下表說明 csattribute 可以使用的指令。
表 D–2 csattribute 公用程式指令
指令 |
說明 |
---|---|
add target |
將 LDAP 屬性和值增加至指定目標 (使用者或資源物件)。 |
list target |
列出目標物件的屬性。 |
delete target |
從目標中刪除屬性。 |
version |
顯示公用程式的版本。 |
下表說明 csattribute 公用程式指令選項。
表 D–3 csattribute 公用程式指令選項