Get a working LDAP serverInstall OpenLDAP on Ubuntu$ sudo apt-get install slapd $ sudo dpkg-reconfigure slapd Configure OpenLDAPAdd this rule to /etc/ldap/slapd.conf: #Prevent SPAM
access to attrs=mail
by self write
by users read
by * none
Connect to LDAP with JXplorerhost: ldap.hypertopic.org port: 389 base DN: dc=hypertopic,dc=org level: user+password user DN: cn=admin,dc=hypertopic,dc=org password: <password>
./jxplorer.sh console
sudo apt-get install sun-java6-jre sudo update-alternatives --config java
-Xdock:name="JXplorer" -Dcom.apple.macos.useScreenMenuBar=true Create a personCreate a node in org/hypertopic: cn: <firstname.surname> objectClass: simpleSecurityObject objectClass: inetOrgPerson sn: <surname> userPassword: <click and type> givenName: <firstname> jpegPhoto: <select one> mail: <e-mail> Create a team (to share documents among members)Create a node in org/hypertopic: cn: <team name> objectClass: groupOfNames Add a team member"Add another value" to the "member" attribute in the team node. member: cn=<firstname.surname>,dc=hypertopic,dc=org Set LDAP authentification for Argos, Steatite or CassandreEnable LDAP authentification in Apache: $ sudo a2enmod authnz_ldap You may restrict edits on argos to LDAP registered users: <Directory /var/www/argos/>
AuthType Basic
AuthName Hypertopic
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://ldap.hypertopic.org/dc=hypertopic,dc=org?cn
<LIMIT POST PUT DELETE>
require valid-user
</LIMIT>
</Directory>
You may restrict a corpus to a given LDAP team: <Location /steatite/<corpus>/> AuthType Basic AuthName Hypertopic AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL ldap://ldap.hypertopic.org/dc=hypertopic,dc=org?cn require ldap-group cn=<team name>,dc=hypertopic,dc=org </Location> You might even restrict the viewpoints list of a user to himself: <Location /argos/actor/<argos user>/> AuthType Basic AuthName Hypertopic AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL ldap://ldap.hypertopic.org/dc=hypertopic,dc=org?cn require ldap-user <ldap common name> </Location> Reload config file: $ sudo /etc/init.d/apache2 force-reload Set LDAP authentification for Agorae$ sudo apt-get install php5-ldap ![]() |