Sun Java System Calendar Server 6.3 管理指南

12.8 启用代理管理员登录

为实现 Communications Express,必须启用代理管理员登录(代理验证)。有关为 Communications Express 配置代理验证的说明,请参见4.1 配置 Communications Express

但是,即使不使用 Communications Express,也可以启用代理验证。本节包含启用代理验证而不使用 Communications Express 的过程:

Procedure在没有 Communications Express 的情况下启用代理授权

  1. 以有权更改此配置的管理员身份登录。

  2. 转至 /etc/opt/SUNWics5/cal/config 目录。

  3. 通过复制和重命名旧的 ics.conf 文件来保存该文件。

  4. 编辑 ics.conf 文件,确认以下参数的设置是否如下所示:

    service.http.allowadminproxy = "yes"

    如果不是,将其更改为 "yes"

  5. 将此文件另存为 ics.conf

  6. 重新启动 Calendar Server 以便新值生效。

Procedure验证代理验证正在工作

    使用以下 WCAP 命令验证管理员代理登录正在工作:

    http://server[:port]/login.wcap?
    user=admin-user&password=admin-password
    &proxyauth=calendar-user&fmt-out=text/html

    此列表定义了前一示例中的变量:

    • server—运行 Calendar Server 的服务器的名称。

    • port—Calendar Server 端口号。默认端口为 80。

    • admin-user—Calendar Server 管理员。例如,calmaster

    • admin-passwordadmin-user 的密码。

    • calendar-user –Calendar Server 用户的 calid

    如果命令运行成功,系统将显示 calendar-user 的日历。如果发生问题,系统将显示未授权

    以下是命令可能失败的一些原因:

    • admin-user 没有 Calendar Server 管理员权限。

    • admin-password 不正确。

    • calendar-user 不是有效的 Calendar Server 用户。