Deleting LDAP endpoints using wsadmin

You can delete Lightweight Directory Access Protocol (LDAP) endpoints for a user registry by using the WebSphere® Application Server administrative tool (wsadmin).

Procedure

  1. Start the wsadmin scripting tool.
  2. Set the LDAP variable and display a list of LDAP endpoint objects. Enter the following commands:
    Using Jacl:
    set ldap [$AdminConfig list LDAPUserRegistry]
    
    $AdminConfig list EndPoint $ldap
    
    Using Jython:
    ldap=AdminConfig.list["LDAPUserRegistry"]
    
    print AdminConfig.show(ldap)
    For the Jython language, you 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:
    Using Jacl:
    $AdminConfig showall End_Point_Object
    Using Jython:
    AdminConfig.showall("End_Point_Object")
  4. Delete an LDAP endpoint object. Enter the following command:
    Using Jacl:
    $AdminConfig remove End_Point_Object
    Using Jython:
    AdminConfig.remove ("End_Point_Object")
  5. Save your configuration changes: Enter the following command:
    Using Jacl:
    $AdminConfig save
    Using Jython:
    AdminConfig.save()



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 3:36:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-iseries&topic=tsec_LDAP_endpoint_delete
File name: tsec_LDAP_endpoint_delete.html