Jump to content

FeministWiki:Technical documentation: Difference between revisions

No edit summary
Line 73: Line 73:


This section documents the individual services of the FeministWiki.  They should work regardless of what server they're on.  I.e. every service could in theory be hosted on its own server.
This section documents the individual services of the FeministWiki.  They should work regardless of what server they're on.  I.e. every service could in theory be hosted on its own server.
=== LDAP ===
Software: OpenLDAP
The LDAP service contains the central database of FeministWiki members.  The structure looks like this:
* dc=feministwiki,dc=org
** ou=members
*** cn=''username'' <br/> objectClass: inetOrgPerson <br/> cn: ''username'' <br/> uid: ''username'' <br/> sn: - <br/> userPassword: {SSHA}''saltedhash'' <br/> mail: ''username''@feministwiki.org
*** cn=''username2'' <br/> objectClass: inetOrgPerson <br/> cn: ''username2'' <br/> uid: ''username2'' <br/> sn: - <br/> userPassword: {SSHA}''saltedhash2'' <br/> mail: ''username2''@feministwiki.org <br/> manager: cn=''username'',ou=members,dc=feministwiki,dc=org
*** ...
** ou=groups
*** cn=members <br/> objectClass: groupOfNames <br/> cn: members <br/> member: ''username'' <br/> member: ''username2'' <br/> member: ...
Notes:
* The <code>cn</code> (common name) and <code>uid</code> (user ID) fields both contain the username.  This is because some software is preconfigured to look at <code>uid</code>, while most look at <code>cn</code>.
* The <code>sn</code> (surname) field simply contains a minus character as a placeholder, because it's a mandatory field.
* The <code>manager</code> field is optional and we use it to record the member who added the member in question.


=== Wiki (feministwiki.org, www.feministwiki.org) ===
=== Wiki (feministwiki.org, www.feministwiki.org) ===