This describes how to script the configuration of using Active Directory as your security provider i
1. Configuring Active Directory as your Security Provider for IBM Business Monitor 8.5.6 or IBM Business Process Manager 8.5.6
Stop your applications servers in the correct order (App, Support, ME) and then from the DMGR server, launch a wsadmin session:
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/wsadmin.sh -user wsadmin -password PASSWORD -lang jython
Run the following commands:
AdminTask.createIdMgrLDAPRepository(‘[-default true -id ADNAME -adapterClassName com.ibm.ws.wim.adapter.ldap.LdapAdapter -ldapServerType AD -sslConfiguration -certificateMapMode exactdn -supportChangeLog none -certificateFilter -loginProperties uid]’)
AdminTask.addIdMgrLDAPServer(‘[-id ADNAME -host ADHOSTNAME -bindDN BINDUSERID -bindPassword PASSWORD -referal ignore -sslEnabled false -ldapServerType AD -sslConfiguration -certificateMapMode exactdn -certificateFilter -authentication simple -port 389]’)
AdminTask.addIdMgrRepositoryBaseEntry(‘[-id ADNAME -name DC=DCNAMES -nameInRepository DCNAMES]’)
AdminTask.addIdMgrRealmBaseEntry(‘[-name defaultWIMFileBasedRealm -baseEntry DCNAMES]’)
AdminConfig.save()
After the save you can restart your Dmgr and nodes.
ADNAME = This is the ID of your Active Directory repository
ADHOSTNAME = This is the host name where your Active Directory resides
BINDUSERID = This is the user ID that you will use to bind to Active Dorectory
PASSWORD = This is the password for the BINDUSERID
DCNAMES = Ths is the name of the Domain Components you are using in Active Directory