You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "mark john kenedy l. magallanes (JIRA)" <ji...@codehaus.org> on 2012/05/01 19:44:02 UTC

[jira] (MRM-1627) Setup archiva with ldap

mark john kenedy l. magallanes created MRM-1627:
---------------------------------------------------

             Summary: Setup archiva with ldap
                 Key: MRM-1627
                 URL: https://jira.codehaus.org/browse/MRM-1627
             Project: Archiva
          Issue Type: Task
            Reporter: mark john kenedy l. 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

        

[jira] (MRM-1627) Add documentation for Setup archiva with ldap

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRM-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MRM-1627:
------------------------------

    Fix Version/s:     (was: 1.4-M3)
                   1.4-M4
    
> Add documentation for 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
>             Fix For: 1.4-M4
>
>


--
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

        

[jira] (MRM-1627) Setup archiva with ldap

Posted by "mark john magallanes (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRM-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297632#comment-297632 ] 

mark john magallanes edited comment on MRM-1627 at 5/1/12 1:16 PM:
-------------------------------------------------------------------

Hi I was able to set up archiva with ldap for my company by using the latest binary distribution and added the file securities.properties in archiva/conf/ with the config found below

PS:  i wasn't able to find any documentation over the net 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=/



                
      was (Author: mmagallanes):
    Hi I was able to set up archiva with ldap for my company by using the latest binary distribution and added the file securities.properties in archiva/conf/ with the config found below

PS: hope this helps i wasn't able to find :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

        

[jira] (MRM-1627) Add documentation for Setup archiva with ldap

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRM-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MRM-1627:
------------------------------

    Fix Version/s: 1.4-M3
          Summary: Add documentation for Setup archiva with ldap  (was: Setup archiva with ldap)

any patch you could provide to improve documentation ?
                
> Add documentation for 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
>             Fix For: 1.4-M3
>
>


--
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

        

[jira] (MRM-1627) Setup archiva with ldap

Posted by "mark john magallanes (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] (MRM-1627) Setup archiva with ldap

Posted by "mark john magallanes (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRM-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297632#comment-297632 ] 

mark john magallanes edited comment on MRM-1627 at 5/1/12 1:01 PM:
-------------------------------------------------------------------

Hi I was able to set up archiva with ldap for my company by using the latest binary distribution and added the file securities.properties in archiva/conf/ with the config found below

PS: hope this helps i wasn't able to find :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=/



                
      was (Author: mmagallanes):
    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

        

[jira] (MRM-1627) Add documentation for Setup archiva with ldap

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRM-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MRM-1627.
-----------------------------

    Resolution: Fixed
      Assignee: Olivier Lamy

All is configurable tru the ui now.
So not anymore needed documentation now :-)
                
> Add documentation for Setup archiva with ldap
> ---------------------------------------------
>
>                 Key: MRM-1627
>                 URL: https://jira.codehaus.org/browse/MRM-1627
>             Project: Archiva
>          Issue Type: Task
>            Reporter: mark john magallanes
>            Assignee: Olivier Lamy
>            Priority: Trivial
>              Labels: LDAP
>             Fix For: 1.4-M4
>
>


--
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