我正按照此link处理自定义配置文件属性。我做了与该链接相同的同上,但我没有成功。
我所做的简短描述
在用户节点下的/root/openam/config/xml/amUser.xml中添加以下内容
<AttributeSchema name="customAttribute"
type="single"
syntax="string"
any="display"
i18nKey="Custom Attribute">
</AttributeSchema>
删除 iPlanetAMUserService
$ /opt/openam-tool/openam/bin/ssoadm delete-svc --adminid amadmin --password-file /tmp/pwd.txt --servicename iPlanetAMUserService
创建iPlanetAMUserService
/opt/openam-tool/openam/bin/ssoadm create-svc --adminid amadmin --password-file /tmp/pwd.txt --xmlfile /root/openam/config/xml/amUser.xml
根据链接添加scchema定义
$ /root/openam/opends/bin/ldapmodify --port 389 --hostname frock.gworks.mobi --bindDN "cn=Directory Manager" --bindPassword gworks.mobi1 --filename /tmp/custom-attr.ldif
热门领域 - &gt;数据存储 - &gt; embeddj-&GT;添加customObjectclass&amp; customAttribute
允许用户更新新属性
$ sh /root/openam/opends/bin/control-panel
在第6步中,我无法找到 iPlanetAMPolicyService 来修改 sun-key 值
你能帮助我继续深造吗?