Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26609

Logs are flooded with a WARN due to LDAP not supporting lockoutDuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 7.29.7
    • Fix Version/s: None
    • Component/s: LDAP
    • Labels:
      None
    • Location:
      External

      Description

      Issue: An LDAP server that does not specify the lockoutDuration generates errors which flood the logs with error messages

      In RTFACT-19889 we implemented a behavior that checks the lockoutDuration of LDAP servers working with Artifactory. But, if we integrate Artifactory with an LDAP server that doesn't support lockoutDuration the artifactory-service.log is getting flooded with the below WARN for every single incoming request to Artifactory: 

      2021-12-09T16:36:49.415Z [jfrt ] [WARN ] [9ad5cc2782681644] [o.a.s.l.LdapServiceImpl:182 ] [tp-nio-8081-exec-416] - java.util.concurrent.ExecutionException: Cant load account lockout duration settings for ldap.server.com

       
      Expected behavior: Not receive numerous log errors to which it fills logs and takes up space. 
      Actual Behaviour: Floods the artifactory.service.log file with the below error

      Cant load account lockout duration settings for ldap.server.com

       

      Workaround: 

      Update the logback.xml file to not print WARN errors for the given error. 

      <logger name="org.artifactory.security.ldap"> 
       <level value="ERROR"/> 
       </logger>
        

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              farnooshs Farnoosh Sharifian
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-26619 -
                  SYNCHRONIZED
                  • Last Sync Date: