Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-33239

Negative Logic in User Object Filter Breaks LDAP Sync

XMLWordPrintable

      Setting this to Critical as it inflates license counts and therefor negatively affects your customer costs.

      Reproduce:

      1. Create an LDAP Directory with Basic Setttings and Ensure its Working
      2. Add any negative logic to your Object Filter

      Example:

      Change:

      (&(objectCategory=Person)(sAMAccountName=*)) 
      

      to

      (&(objectCategory=Person)(sAMAccountName=*)(!OU=serviceaccounts,dc=yourdomain,dc=com))
      

      Additionally the "Test Settings" button only tests the connection, it verifies NOTHING else. Change the button text or actually test the full LDAP settings please.

      You will see this in the log on any attempted login. No LDAP users will be able to login.

      2014-04-10 12:45:23,244 FATAL [http-10.28.1.96-80-1] [springframework.ldap.control.AbstractRequestControlDirContextProcessor] postProcess No matching response control found for paged results - looking for 'class javax.naming.ldap.PagedResultsResponseControl
      2014-04-10 12:48:12,098 INFO [http-10.28.1.96-80-3] [crowd.embedded.admin.ConfigurationController] onSubmit Configuration test successful for user directory: [ Delegated LDAP Authentication ], type: [ DELEGATING ]
      2014-04-10 12:48:34,896 FATAL [http-10.28.1.96-80-7] [springframework.ldap.control.AbstractRequestControlDirContextProcessor] postProcess No matching response control found for paged results - looking for 'class javax.naming.ldap.PagedResultsResponseControl
      2014-04-10 12:48:34,898 ERROR [http-10.28.1.96-80-7] [crowd.manager.application.ApplicationServiceGeneric] authenticateUser Directory 'Delegated LDAP Authentication' is not functional during authentication of 'skling'. Skipped.
      

              Unassigned Unassigned
              125e374a-e0dd-469a-97d3-2c9393be6d57 Deleted Account (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: