MongoDB is a NoSQL database that can be used both for storing configuration and sessions.
See how to change configuration backend to change your configuration database.
To use a MongoDB backend, configure your lemonldap-ng.ini
file (section configuration) :
Example :
[configuration] type = MongoDB dbName = llConfDB collectionName = configuration host = 127.0.0.1:27017 ssl = 1 ; authentication parameters db_name = admin user = lluser password = llpassword
Optional parameters (see MongoDB::Client man page) | ||
---|---|---|
Name | Comment | Example |
db_name | Admin database (dafault: admin) | admin |
auth_mechanism | Authentication mechanism | PLAIN |
auth_mechanism_properties | ||
connect_timeout | Connection timeout | 10000 |
ssl | Boolean or hash ref (default: 0) | 1 |
username | Username to use to connect | lluser |
password | Password | llpassword |