Change default settings to be able to run ocis server without any configuration

- Konnectd uses no TLS as it is behind the proxy
- Glauth generates dev-certificates for ldap on startup if none are provided,
- Glauth can launch unencrypted (9125) and encrypted (9126) port in parallel
This commit is contained in:
Ilja Neumann
2020-03-18 20:18:52 +01:00
parent 8aa4efe22d
commit 6bd82c37ef
2 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
Enhancement: Change internal-default config to have zero-configuration in single-binary mode
https://github.com/owncloud/ocis-konnectd/pull/55

View File

@@ -113,10 +113,10 @@ func initKonnectInternalEnvVars() error {
"LDAP_BINDPW": "konnectd",
"LDAP_BASEDN": "ou=users,dc=example,dc=org",
"LDAP_SCOPE": "sub",
"LDAP_LOGIN_ATTRIBUTE": "uid",
"LDAP_LOGIN_ATTRIBUTE": "cn",
"LDAP_EMAIL_ATTRIBUTE": "mail",
"LDAP_NAME_ATTRIBUTE": "cn",
"LDAP_UUID_ATTRIBUTE": "customuid",
"LDAP_NAME_ATTRIBUTE": "sn",
"LDAP_UUID_ATTRIBUTE": "uid",
"LDAP_UUID_ATTRIBUTE_TYPE": "text",
"LDAP_FILTER": "(objectClass=posixaccount)",
}