为实现 Communications Express,必须启用代理管理员登录(代理验证)。有关为 Communications Express 配置代理验证的说明,请参见配置 Communications Express。
但是,即使不使用 Communications Express,也可以启用代理验证。本节包含启用代理验证而不使用 Communications Express 的过程:
以有权更改此配置的管理员身份登录。
转至 /etc/opt/SUNWics5/cal/config 目录。
通过复制和重命名旧的 ics.conf 文件来保存该文件。
编辑 ics.conf 文件,请设置以下参数:
service.http.allowadminproxy = "yes"
将此文件另存为 ics.conf。
重新启动 Calendar Server 以便新值生效。
使用以下 WCAP 命令验证管理员代理登录正在工作:
http://server[:port] /login.wcap?user=admin-user&password=admin-password &proxyauth=calendar-user
其中:
server—运行 Calendar Server 的服务器的名称。
port—Calendar Server 端口号。默认端口为 80。
admin-user—Calendar Server 管理员。例如,calmaster。
admin-password—admin-user 的密码。
calendar-user—Calendar Server 用户的 calid。
如果命令运行成功,Calendar Server 将显示 calendar-user 的日历。如果发生问题,Calendar Server 将显示“未授权”。原因可能是:
admin-user 没有 Calendar Server 管理员权限。
admin-password 不正确。
calendar-user 不是有效的 Calendar Server 用户。