The use-ldap-authentication configuration variable

use-ldap-authentication determines whether Archiveopteryx should connect to an LDAP server to authenticate remote users, or do authentication locally using the database.

If you wish to use LDAP authentication, you have to set the LDAP DN for each involved user in the users database table. If you set the users.ldapdn column in a row, Archiveopteryx authenticates that user using LDAP server instead of using the users.secret column.

You have to set users.ldapdn by hand; the aox tool cannot set this yet. Please write to info@aox.org if you use LDAP authentication or have comments about it.

ldap-server-address and ldap-server-port determine which LDAP server is used to authenticate.

use-ldap-authentication is a toggle. Its default value is false:

use-ldap-authentication = false

You can see its current value with the command aox show cf use-ldap-authentication.

Toggle syntax

Toggles are written as a single word. Yes, true, on, 1, and enabled all mean that the toggle is enabled, while no, false, off, 0, and disabled unsurprisingly mean disabled. Toggles are case-insensitive.

Spaces are allowed at the start of the line, before and after '=', and after the value. Comments extend from '#' to the end of the line.

In case of questions, please write to info@aox.org.

About this page

Last modified: 2010-11-19
Location: aox.org/conf/use-ldap-authentication