[
https://jira.codehaus.org/browse/MRM-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297632#comment-297632
]
mark john magallanes commented on MRM-1627:
-------------------------------------------
Hi I was able to set up archiva for my company by just adding
securities.properties file in archiva/conf/
PS: hope this helps :D
#LDAP
user.manager.impl=ldap
# LDAP anonymous bind config
ldap.bind.authenticator.enabled=true
# required LDAP server config
ldap.config.hostname=ldap.company.com
ldap.config.base.dn=dc=ldap,dc=company,dc=com
ldap.config.port=389
ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory
ldap.config.bind.dn=
ldap.config.password=
ldap.config.ssl=false
ldap.config.search.base.dn=
# required LDAP user mapping
ldap.config.mapper.attribute.user.id=uid
ldap.config.mapper.attribute.email=email
ldap.config.mapper.attribute.fullname=name
ldap.config.mapper.attribute.password=userPassword
ldap.config.mapper.attribute.user.object.class=
ldap.config.mapper.attribute.user.filter=
# uid of the ldap user
redback.default.admin=admin
redback.default.guest=guest
security.policy.password.expiration.enabled=false
security.policy.unlockable.accounts=admin
# cookies settings
# note: we needed to add the following config below it seems
# the default values for this from redback gets overridden when you create
# a securities.properties file
security.rememberme.cookie.name=rbkRememberMe
security.rememberme.key=rbkRememberMe
security.rememberme.timeout=525600
security.rememberme.path=/
security.signon.cookie.name=rbkSignon
security.signon.key=rbkSignon
security.signon.timeout=525600
security.signon.path=/
> Setup archiva with ldap
> -----------------------
>
> Key: MRM-1627
> URL: https://jira.codehaus.org/browse/MRM-1627
> Project: Archiva
> Issue Type: Task
> Reporter: mark john magallanes
> Priority: Trivial
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira