Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1485

LDAP authentication attempts to change password on first login.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 1.3.2
    • None
    • None
    • Patch

    Description

      I have a development environment on the archive and Mavin.
      And I'm trying to put this environment authenticating to OpenLDAP. By doing could only setting in the file security.properties. The configuration is below:

      user.manager.impl=ldap
      ldap.bind.authenticator.enabled=true
      redback.default.admin=admin
      ldap.config.hostname=IP_server
      ldap.config.port=389
      ldap.config.base.dn=dc=domain,dc=com,dc=br
      ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory
      ldap.config.bind.dn=cn=admin,dc=domain,dc=com,dc=br
      ldap.config.password=XXXXXXXXX
      ldap.config.mapper.attribute.email=mail
      ldap.config.mapper.attribute.fullname=uid
      ldap.config.mapper.attribute.password=userPassword
      ldap.config.mapper.attribute.user.id=uid
      ldap.config.mapper.attribute.user.object.class=simpleSecurityObject
      security.policy.password.expiration.enabled=false
      security.policy.strict.enforcement.enabled=false
      security.policy.strict.force.password.change.enabled=false
      security.policy.unlockable.accounts=admin
      security.policy.allowed.login.attempt=1000

      After this configuration, I could authenticate to openldap. but when the system right the first time it asks me to change the password. Already sent email to the maillist and everyone told me it was bug, because the option:
      security.policy.strict.force.password.change.enabled = false
      is already configured.

      My version is 1.3, however tested on 1.3.5 and also did the same.

      How to authenticate to OpenLDAP is not asking to change password the first time? Because the option shown above does not work?

      Attachments

        1. security.properties
          1.0 kB
          Pedro Macedo Leite

        Activity

          People

            olamy Olivier Lamy
            pedrol Pedro Macedo Leite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: