FOR 6.0.x
1- locate <dmgrprofile>/config/wmm/
2- add properties in wmmAttributes.xml and wmmLDAPServerAttributes.xml files.
Caution: wmmAttributes.xml uses attribute properties , wmmLDAPServerAttributes.xml uses attributeMap properties.
/IBM/Profiles/Dmgr/config/wmm/wmmAttributes.xml
<attribute wmmAttributeName=”workingBranch”
applicableMemberTypes=”Person”
dataType=”String”
valueLength=”128″
multiValued=”true”/>
/IBM/Profiles/Dmgr/config/wmm/wmmLDAPServerAttributes.xml
<attributeMap wmmAttributeName=”workingBranch”
pluginAttributeName=”workingBranch”
applicableMemberTypes=”Person”
dataType=”String”
valueLength=”128″
multiValued=”true”/>
3- Syncronize nodes and restart servers.
FOR 6.1.x
1-First install the attributes installer
Locate <wp_profile_root>/ConfigEngine on primarynode
2- run ./ConfigEngine.sh wp-la-install-ear -DWasPassword=password -DServerName=dmgr -DNodeName=dmgrnode
Where the default value for server_name is dmgr; you can look up the server_name value in the WebSphere Application Server Administrative Console under System administrator > Deployment Manager > Configuration tab > General Properties > Name.
Where node_name is the name of the node where the deployment manager resides; you can look up the node_name value in the WebSphere Application Server Administrative Console under System administrator > Deployment Manager > Runtime tab > General Properties > Node Name.
3- ./stopManager.sh, from the <dmgr_profile_root>/bin directory.
./stopNode.sh -username admin_userid -password admin_password, from the <wp_profile_root>/bin directory.
./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password, from the <wp_profile_root>/bin directory.
./startManager.sh, from the <dmgr_profile_root>/bin directory.
./startNode.sh, from the <wp_profile_root>/bin directory.
./startServer.sh WebSphere_Portal, from the <wp_profile_root>/bin directory.
4- edit wkplc.properties from the <wp_profile_root>/ConfigEngine/properties/ directory with the following info:
la.providerURL=corbaloc:iiop:dmgrhost:16031(bootstrapport)
la.propertyName=postOfficeBox
la.entityTypes=PersonAccount
la.dataType=String
la.multiValued=yes
5- run ./ConfigEngine.sh wp-add-property from the <wp_profile_root>/ConfigEngine directory
6- Restart servers
7- If you want to see current custom attributes :
Run ./ConfigEngine.sh wp-query-attribute-config
This will create availableAttributes.html report in /ConfigEngine/log

