Skip to content

Import and Export users from Embedded LDAP using WLST

Export

connect(‘weblogic’,’weblogic’, ‘t3://localhost:8003′)
domainRuntime()
cd(‘/DomainServices/DomainRuntimeService/DomainConfiguration/DomainA/SecurityConfiguration/DomainA/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator’)
cmo.exportData(‘DefaultAtn’,’c:/export.ldif’, Properties())

Import

connect(‘weblogic’,’weblogic’, ‘t3://localhost:8003′)
domainRuntime()
cd(‘/DomainServices/DomainRuntimeService/DomainConfiguration/DomainB/SecurityConfiguration/DomainB/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator’)
cmo.importData(‘DefaultAtn’,’c:/export.ldif’, Properties())

5 Comments

  1. Trader

    Faisal, this post really helped.
    Thanks a lot!!

    From
    Anup & RaviKiran Mane

    Posted on 03-Feb-10 at 2:59 pm | Permalink
  2. Ajish

    How to import if the Authenticator is a customized one which connects to Database??

    Posted on 07-Mar-12 at 6:42 am | Permalink
  3. Administrator

    I am sorry, but you question is not very clear.
    What do you want to achieve?

    Posted on 23-Mar-12 at 2:59 am | Permalink
  4. Ram

    How can I export JDBC, JMS and Work Managers configurations from one domain to another domain using WLST?

    Posted on 16-Apr-12 at 7:47 pm | Permalink
  5. Administrator

    Hi Ram,

    You can create a domain template and create a new domain from that template.

    Thanks

    Posted on 17-Apr-12 at 11:25 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*