WAS v8.5 > Secure applications > Authenticate users > Select a registry or repository > Configure LDAP user registries

Delete LDAP endpoints using wsadmin

We can delete LDAP endpoints for a user registry using the WebSphere Application Server administrative tool (wsadmin).

  1. Start the wsadmin scripting tool.

  2. Set the LDAP variable and display a list of LDAP endpoint objects. Enter the following commands:

    Jacl:

    set ldap [$AdminConfig list LDAPUserRegistry]
    
    $AdminConfig list EndPoint $ldap

    Jython:

    ldap=AdminConfig.list["LDAPUserRegistry"]
    
    print AdminConfig.show(ldap)
    For the Jython language, we can obtain the endpoint from the host variable after running the previous command.

  3. Display a list of LDAP endpoint objects. Enter the following command for each object:

    Jacl:

      $AdminConfig showall End_Point_Object

    Jython:

  4. Delete an LDAP endpoint object. Enter the following command:

    Jacl:

      $AdminConfig remove End_Point_Object

    Jython:

  5. Save your configuration changes: Enter the following command:

    Jacl:

      $AdminConfig save

    Jython:


Related


Configure LDAP user registries
Testing an LDAP server for user registry failover


+

Search Tips   |   Advanced Search