Add LDAP service and seed task

This commit is contained in:
Râu Cao
2022-12-05 13:36:33 +01:00
parent 93d56f79d5
commit c3b9ff8b4a
3 changed files with 142 additions and 0 deletions

View File

@@ -50,6 +50,13 @@ back-end:
docker-compose exec ldap dsconf localhost backend create --suffix="dc=kosmos,dc=org" --be-name="dev"
Now you can seed the back-end with data using this Rails task:
bundle exec rails ldap:seed
The seeds task will first delete any existing entries in the directory tree
("dc=kosmos,dc=org"), and then create our example/development entries.
## Documentation
* [Ruby on Rails](https://guides.rubyonrails.org/)