控制面板未列出iPlanetAMPolicyService - openam 13

时间:2016-12-23 10:25:38

标签: openam opendj opends

我正按照此link处理自定义配置文件属性。我做了与该链接相同的同上,但我没有成功。

我所做的简短描述

  1. 在用户节点下的/root/openam/config/xml/amUser.xml中添加以下内容

    <AttributeSchema name="customAttribute"
        type="single"
        syntax="string"
        any="display"
        i18nKey="Custom Attribute">
    </AttributeSchema>
    
  2. 删除 iPlanetAMUserService

    $ /opt/openam-tool/openam/bin/ssoadm delete-svc --adminid amadmin --password-file /tmp/pwd.txt --servicename iPlanetAMUserService
    
  3. 创建iPlanetAMUserService

    /opt/openam-tool/openam/bin/ssoadm create-svc --adminid amadmin --password-file /tmp/pwd.txt --xmlfile /root/openam/config/xml/amUser.xml
    
  4. 根据链接添加scchema定义

    $ /root/openam/opends/bin/ldapmodify --port 389 --hostname frock.gworks.mobi --bindDN "cn=Directory Manager" --bindPassword gworks.mobi1 --filename /tmp/custom-attr.ldif
    
  5. 热门领域 - &gt;数据存储 - &gt; embeddj-&GT;添加customObjectclass&amp; customAttribute

  6. 允许用户更新新属性

    $ sh /root/openam/opends/bin/control-panel
    
  7. 第6步中,我无法找到 iPlanetAMPolicyService 来修改 sun-key

    易于您参考https://postimg.org/image/it7ovadwh/

    你能帮助我继续深造吗?

0 个答案:

没有答案
相关问题