del LDAp record

 3 Replies
 1 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
TJ Mann
Veteran Member
Posts: 44
Veteran Member
    been using jxplorer to del LDAP record. looking to automate, and need to use command line utilities. anyone knows/uses command line utititites to del LDPA record ?
    Kwane McNeal
    Veteran Member
    Posts: 479
    Veteran Member
      Yes. Getting those command-line utilities is the trick.

      IF you're using ITDS on the server, try one of the following...
      On a *NIX client, you have options. One is to just install the client package of ITDS (ideal) or use the Oracle included client (subpar, but works for some things in a pinch). You can also roll your own with the old Novell and Sun sources (decent).

      On a Windows client, this is harder. You can extract either the ITDS (best option) client and libs or the Oracle (decent) client and libs, or you can comb the web for prebuilt packages. You can use a lib to a language, such as perl, if your needs are specific to a use case.

      On an ARM based client or a Apple *OS client, then you'll have to check, or roll your own.

      IF you're on ADAM/ADLDS for the server, then follow the following

      On Windows clients, just install the ADLDS roll or the ADAM package.
      On *NIX or Apple *OS clients, it's a bit trickier. for basic tasks, use the clients from ITDS or Oracle (as mentioned above). For structure changes, the only way I know to do it via command-line is ldifde.exe

      Otherwise, you'll be compiling your own.

      Kwane
      TJ Mann
      Veteran Member
      Posts: 44
      Veteran Member
        i have TDS install on my AIX, but we are using AD-LDS instead. i found ldapdelete command in oracle client 11, but afraid to use. i just want to delete PRODLINE_EMPLOYEE=employee_number.
        Brian Allen
        Veteran Member
        Posts: 104
        Veteran Member
          You could try ldapsearch first to see if it returns what you expect and then try ldapdelete on a test system (after backing up TDS/DB2).

          If you have ProcessFlow integrator, I think it could also perform deletes on the LDAP.