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 实用程序命令选项