update config example

This commit is contained in:
SeanOMik 2023-05-28 23:48:03 -04:00
parent be59462741
commit 7637faf047
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,17 @@
listen_address = "127.0.0.1"
listen_port = "3000"
url = "http://localhost:3000/"
url = "http://localhost:3000/"
[ldap]
connection_url = "ldap://localhost:389"
bind_dn = "cn=admin,dc=planetexpress,dc=com"
bind_password = "GoodNewsEveryone"
user_base_dn = "ou=people,dc=planetexpress,dc=com"
group_base_dn = "ou=people,dc=planetexpress,dc=com"
user_search_filter = "(&(objectClass=person)(mail=%s))"
group_search_filter = "(&(objectclass=groupOfNames)(member=%d))"
admin_filter = "(memberOf=cn=admin_staff,ou=people,dc=planetexpress,dc=com)"
#login_attribute = "mail"
#display_name_attribute = "displayName"