fix startup with ocis init

This commit is contained in:
Willy Kloucek
2022-04-28 17:20:10 +02:00
parent 25254140ac
commit e582b609b5
5 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -33,7 +33,7 @@ type DataProviderInsecureSettings struct {
}
type LdapSettings struct {
Bindpassword string
Bind_password string
}
type LdapBasedExtension struct {
Ldap LdapSettings
@@ -193,34 +193,34 @@ func CreateConfig(insecure, forceOverwrite bool, configPath string) error {
},
Idp: LdapBasedExtension{
Ldap: LdapSettings{
Bindpassword: idpServicePassword,
Bind_password: idpServicePassword,
},
},
Auth_basic: AuthbasicExtension{
Auth_providers: LdapBasedExtension{
Ldap: LdapSettings{
Bindpassword: revaServicePassword,
Bind_password: revaServicePassword,
},
},
},
Group: UserAndGroupExtension{
Drivers: LdapBasedExtension{
Ldap: LdapSettings{
Bindpassword: revaServicePassword,
Bind_password: revaServicePassword,
},
},
},
User: UserAndGroupExtension{
Drivers: LdapBasedExtension{
Ldap: LdapSettings{
Bindpassword: revaServicePassword,
Bind_password: revaServicePassword,
},
},
},
Graph: GraphExtension{
Identity: LdapBasedExtension{
Ldap: LdapSettings{
Bindpassword: idmServicePassword,
Bind_password: idmServicePassword,
},
},
},