Total Pageviews

Wednesday, September 17, 2014

OIM 11gR2 and OAM 11gr2 configuring OVD adapter wlst command


make sure to take backup of file that is being changed
<MW_HOME>/user_projects/domains/oimdev/config/fmwconfig/ovd/oim/adapters.os_xml

you can use WLST utility to do that.

in order to get adapter information you need to use wlst.sh utility that is under <MW_HOME>/oracle_common/common/bin/  if you are using utility under weblogic you will get following error while running
wls:/iamdev/serverConfig>listAdapters(contextName='oim')

wls:/iamdev/serverConfig> listAdapters(contextName='oim')
Traceback (innermost last):
  File "<console>", line 1, in ?
NameError: listAdapters

$wlst.sh


wls:/offline> connect('weblogic','password','t3://orasystemsusa.com:7001')

Connecting to 't3://orasystemsusa.com:7001' with userid weblogic ...

Successfully connected to Admin Server 'AdminServer' that belongs to domain 'oimdev'.

 

Warning: An insecure protocol was used to connect to the

server. To ensure on-the-wire security, the SSL port or

Admin port should be used instead.

 

wls:/iamdev/serverConfig> listAdapters(contextName='oim')

Location changed to domainRuntime tree. This is a read-only tree with DomainMBea                    n as the root.

For more help, use help(domainRuntime)

 

Adapter Name : LDAP1

Adapter Type : LDAP

 

 

Adapter Name : CHANGELOG_LDAP1

Adapter Type : LDAP

 

 

wls:/iamdev/domainRuntime>getAdapterDetails(adapterName='LDAP1',contextName='oim')

DETAILS OF ADAPTER :  LDAP1

Adapter Type                : LDAP

Name                        : LDAP1

Virtual NameSpace           : dc=company,dc=com

Remote NameSpace            : dc=company,dc=com

LDAP Host                   : [orasystemsusa.com :   389]

Bind DN                     : cn=orcladmin

Secure                      : false

Pass Credentials            : Always

Max size of Connection Pool : 10

Plugin                      : DMSMetrics

Plugin                      : UserManagement

 

  • To update the user name and password values in the USER adapter:
    modifyLDAPAdapter(adapterName='LDAP1',attribute='BindDN', value='cn=oimLDAP,cn=systemids,dc=example,dc=com', contextName='oim')
    
    modifyLDAPAdapter(adapterName='LDAP1',attribute='BindPassword', value='******', contextName='oim')
    
  • To update the user name and password values in the CHANGELOG adapter:
    modifyLDAPAdapter(adapterName='CHANGELOG_LDAP1',attribute='BindDN', value='cn=oimLDAP,cn=systemids,dc=example,dc=com', contextName='oim')
    
    modifyLDAPAdapter(adapterName='CHANGELOG_LDAP1',attribute='BindPassword', value='welcome1', contextName='oim')

No comments:

Post a Comment