Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-857

LDAP user authentication fails under a security manager

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.2.1.6
    • Fix Version/s: 10.3.2.1, 10.4.1.3
    • Component/s: Services
    • Labels:
      None
    • Urgency:
      Normal
    • Issue & fix info:
      Patch Available
    • Bug behavior facts:
      Security

      Description

      Running the test jdbcapi/secureUsers1.sql with a security manager results in:

      > ERROR 08004: Connection refused : javax.naming.CommunicationException: noSuchMachine:389 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission noSuchMachine resolve)]

      Adding this permission to the policy file has no effect. which means a priv block is required around the LDAP call.
      permission java.net.SocketPermission "noSuchMachine", "resolve";

        Attachments

          Activity

            People

            • Assignee:
              kmarsden Kathey Marsden
              Reporter:
              djd Daniel John Debrunner
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: