opensso
  1. opensso
  2. OPENSSO-143

unable to configure the opensso war against sun Java ES directory Server

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: install
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      143

      Description

      1. Update the workspace to the latest CVS source
      2. Build the war for the amserver
      3. Deploy the war on tomcat 5.x
      4. Configure the opensso against the Sun Java ES directory server 5.2
      with root suffix dc=opensso,dc=com
      the configurator failed with null exception

      it failed for 2 reasons

      connectDSwithDN: makes a search with filter cn=root-suffix
      this may not exist in all cases as cn is not a required attr for org entry
      besides what we want in this method is to determine whether the given root
      suffix is valid or not. for this a simple filter would suffice

      getDBName: in this searching for cn=rootsuffix willnot match, since it is quoted
      in the mapping tree, so the filter has to be cn="rootsuffix"

      [27/Nov/2006:12:12:34 -0800] conn=3 op=1 msgId=2 - SRCH base="dc=opensso,dc
      =com" scope=0 filter="(cn=dc=opensso,dc=com)" attrs=""
      [27/Nov/2006:12:12:34 -0800] conn=3 op=1 msgId=2 - RESULT err=0 tag=101 nen
      tries=0 etime=0
      [27/Nov/2006:12:12:34 -0800] conn=3 op=2 msgId=3 - SRCH base="cn=mapping tr
      ee,cn=config" scope=2 filter="(cn=dc=opensso,dc=com)" attrs="nsslapd-backen
      d"
      [27/Nov/2006:12:12:34 -0800] conn=3 op=2 msgId=3 - RESULT err=0 tag=101 nen
      tries=0 etime=0

      I was able to configure after fixing the code
      Index: AMSetupDSConfig.java
      ===================================================================
      RCS file:
      /cvs/opensso/products/amserver/source/com/sun/identity/setup/AMSetupDSConfig.java,v
      retrieving revision 1.1
      diff -r1.1 AMSetupDSConfig.java
      141c141
      < String filter = "cn=" + suffix;

      > String filter = "cn=" + "\"" + suffix + "\"";
      239,240c239,241
      < String filter = "cn=" + suffix;
      < String[] attrs =

      { "" };

      > String filter = "objectclass=top" ;
      > //String filter = "cn=" + suffix;
      > String[] attrs = { "dn" };
      262c263
      < String[] attrs = { "" }

      ;

      > String[] attrs =

      { "dn" }

      ;

      1. CRT_approved:143
        0.1 kB
        shivaram
      2. CRT_submittal:143
        16 kB
        veiming

        Activity

        Hide
        veiming added a comment -

        reassign to owner

        Show
        veiming added a comment - reassign to owner
        Hide
        veiming added a comment -

        Created an attachment (id=194)
        CRT_submittal:143

        Show
        veiming added a comment - Created an attachment (id=194) CRT_submittal:143
        Hide
        shivaram added a comment -

        Created an attachment (id=195)
        CRT_approved:143

        Show
        shivaram added a comment - Created an attachment (id=195) CRT_approved:143
        Hide
        veiming added a comment -

        reassign to myself

        Show
        veiming added a comment - reassign to myself
        Hide
        veiming added a comment -

        Fix the incorrect search filter.

        Show
        veiming added a comment - Fix the incorrect search filter.
        Hide
        rmisra added a comment -

        Verified in build 20080922.3 (5b)
        Testcase id : InstallConfig_misc12 (InstallConfig_testcases.html)

        Show
        rmisra added a comment - Verified in build 20080922.3 (5b) Testcase id : InstallConfig_misc12 (InstallConfig_testcases.html)

          People

          • Assignee:
            veiming
            Reporter:
            inthanga
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: