You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2011/08/05 16:40:44 UTC

[jira] Issue Comment Edited: (MRM-1485) LDAP authentication attempts to change password on first login.

    [ https://jira.codehaus.org/browse/MRM-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275099#comment-275099 ] 

Brett Porter edited comment on MRM-1485 at 8/5/11 9:40 AM:
-----------------------------------------------------------

I mean, did you start Archiva and configure some users in the default way, because configuring LDAP?

One thing you might try - stop Archiva, move data/databases/users out of the way, then start Archiva again.

Another - comment out userPassword setting - I don't believe that's needed and may be causing some confusion

You're not the first to report this problem, so it is likely a bug, though I'm not able to reproduce it myself.

      was (Author: brettporter):
    I mean, did you start Archiva and configure some users in the default way, because configuring LDAP?

One thing you might try - stop Archiva, move data/databases/users out of the way, then start Archiva again.

You're not the first to report this problem, so it is likely a bug, though I'm not able to reproduce it myself.
  
> LDAP authentication attempts to change password on first login.
> ---------------------------------------------------------------
>
>                 Key: MRM-1485
>                 URL: https://jira.codehaus.org/browse/MRM-1485
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Pedro Macedo Leite
>            Priority: Critical
>         Attachments: security.properties
>
>
> 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?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira