Академический Документы
Профессиональный Документы
Культура Документы
(simple authentication)
2008/06/12
mryoshio
Summary
2
Notice
2
Environment
3
Software
3
System
3
Install & Configure Alfresco
4
Download
4
Install
4
Configure
4
Install & Configure OpenLDAP
5
Download & Install
5
Configure
5
Check it works
7
Login Alfresco
7
This report shows how to setup Alfresco with OpenLDAP in using simple authentication.
So you have to add some special settings when you need secure authentication.
Notice
The words like “mryoshio”, “YAMADA” are examples.They don’t have special meanings.
Software
Alfresco Server OpenLDAP Server
OS Mac OS X 10.4.11 CentOS 5.1
OpenLDAP - 2.3.27
System
Alfresco Server OpenLDAP Server
valid user?
Alfresco OpenLDAP
Yes/No
Client
Download
- Go to Alfresco Download site.
http://sourceforge.net/project/showfiles.php?group_id=143373&package_id=157460&release_id=524558
Install
- Execute following commands.
$ cd ${ALF_HOME} 1
$ tar xvzf ~/Desktop/alfresco-community-tomcat-2.1.0.tar.gz
Configure
- Edit ldap-authentication-context.xml .
$ cd ${ALF_HOME}/tomcat/shared/classes/alfresco/extension/
$ cp ldap-authentication-context.xml.sample ldap-authentication-context.xml
$ vi ldap-authentication-context.xml
----------
L.41 <value>%s</value> => <value>cn=%s,dc=mryoshio,dc=jp</value>
~~~
L.64 <value>ldap://openldap.domain.com:389</value> => <value>ldap://<Your OpenLDAP Server 2>:389</value>
~~~
L.72 <value>DIGEST-MD5</value> => <value>simple</value>
----------
Configure
- Edit /etc/openldap/slapd.conf.
$ vi /etc/openldap/slapd.conf
----------
suffix
“dc=mryoshio,dc=jp”
rootdn
“cn=Manager,dc=mryoshio,dc=jp”
----------
----------
# top
dn: dc=mryoshio,dc=jp
objectClass: dcObject
objectClass: organization
o: mryoshio corporation
dc: mryoshio
dn: cn=Manager,dc=mryoshio,dc=jp
objectClass: organizationalRole
cn: Manager
# member
dn: cn=YAMADA Yuji,dc=mryoshio,dc=jp
objectClass:inetOrgPerson
sn: YAMADA
cn: YAMADA Yuji
userPassword: yamada
----------
Login Alfresco
Access to http://<Your Alfresco Server 1>:8080/alfresco/