aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-02-08 16:46:13 +0100
committerAlex Auvolat <alex@adnab.me>2023-02-08 16:46:13 +0100
commitf77697f50147f34aad34fd13aab85f335f6a9746 (patch)
treea2af74b069841bce475ae26c286f54e221694d33 /main.go
parent670123df38608c98eadc482b9778ddfffe8560c7 (diff)
downloadguichet-f77697f50147f34aad34fd13aab85f335f6a9746.tar.gz
guichet-f77697f50147f34aad34fd13aab85f335f6a9746.zip
mailing list: ability to add guest users
Diffstat (limited to 'main.go')
-rw-r--r--main.go16
1 files changed, 9 insertions, 7 deletions
diff --git a/main.go b/main.go
index 5577784..31d5ac3 100644
--- a/main.go
+++ b/main.go
@@ -23,13 +23,15 @@ type ConfigFile struct {
LdapServerAddr string `json:"ldap_server_addr"`
LdapTLS bool `json:"ldap_tls"`
- BaseDN string `json:"base_dn"`
- UserBaseDN string `json:"user_base_dn"`
- UserNameAttr string `json:"user_name_attr"`
- GroupBaseDN string `json:"group_base_dn"`
- GroupNameAttr string `json:"group_name_attr"`
- MailingBaseDN string `json:"mailing_list_base_dn"`
- MailingNameAttr string `json:"mailing_list_name_attr"`
+ BaseDN string `json:"base_dn"`
+ UserBaseDN string `json:"user_base_dn"`
+ UserNameAttr string `json:"user_name_attr"`
+ GroupBaseDN string `json:"group_base_dn"`
+ GroupNameAttr string `json:"group_name_attr"`
+
+ MailingBaseDN string `json:"mailing_list_base_dn"`
+ MailingNameAttr string `json:"mailing_list_name_attr"`
+ MailingGuestsBaseDN string `json:"mailing_list_guest_user_base_dn"`
InvitationBaseDN string `json:"invitation_base_dn"`
InvitationNameAttr string `json:"invitation_name_attr"`