Open QB-maker opened 4 years ago
If you make any changes to Wekan docker-compose.yml, please make good backup of original and changed files, because I'm not sure are settings kept when upgrading Wekan.
With KDE installed, with System/Konsole:
sudo su
cd /var/lib/univention-appcenter/apps/wekan/compose
nano docker-compose.yml
Currently settings can only be added to docker-compose.yml textfile. Descriptions of all available settings are at: https://github.com/wekan/wekan/blob/master/docker-compose.yml
You can edit settings.
Then save and exit with: Ctrl-o Enter Ctrl-x Enter
Then stop and start Wekan in that same directory:
docker stop wekan-app
docker start wekan-app
Or alternatively, if there is no effect, reboot UCS server.
+1, same issue here, but I use OpenLdap without AD connector. (with UCS AD will be synced to OpenLdap, so in the end this does not matter)
/var/lib/univention-appcenter/apps/wekan/compose/docker-compose.yml is configured to use the (imho) correct fields:
...
- LDAP_USERNAME_FIELD=uid
- LDAP_FULLNAME_FIELD=displayName
- LDAP_EMAIL_FIELD=mailPrimaryAddress
- LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mailPrimaryAddress":"email"}
- LDAP_DEFAULT_DOMAIN=belug.lan
...
"mailPrimaryAddress" contains the correct mail address. However, seems that Wekan creates the address from "LDAP_USERNAME_FIELD"+"LDAP_DEFAULT_DOMAIN" instead using the value from LDAP_EMAIL_FIELD, which makes me think that I run into the same issue.
The log (shortened) shows the following:
[INFO] TLS connected
[INFO] Binding UserDN "cn=***removed***,dc=de"
[INFO] Searching user "lutz"
[DEBUG] searchOptions {
"filter": "(&(wekanActivated=TRUE)(uid=lutz))",
"scope": "sub",
"sizeLimit": 0
}
***removed***
[INFO] Search result count 1
[INFO] Authenticating "uid=lutz,***removed***"
[INFO] Authenticated "uid=lutz,***removed***"
[DEBUG] Group list filter LDAP: "(&(objectclass=univentionGroup)(uniqueMember=uid=lutz,***removed***))"
***removed***
[DEBUG] Identifying user with: uidNumber
[INFO] Querying user
[DEBUG] userQuery {
"services.ldap.id": "***removed***"
}
[DEBUG] userQuery {
"username": "lutz"
}
[INFO] User does not exist, creating "lutz"
[DEBUG] Identifying user with: uidNumber
[DEBUG] Identifying user with: uidNumber
[DEBUG] New user data {
"username": "lutz",
"email": "lutz@belug.lan"
}
Seems Weekan does not ask the Ldap for LDAP_EMAIL_FIELD? Did I forgot something to check or configure?
Hi Friends, I have same problem with Wekan uses the wrong E-mail Field from Active Directory, Linux UCS Esxi VM. I have read previous posts in this topic, but I can't understand how to change docker-compose.yml file due Wekan to use right email addresses? I have checked my docker-compose.yml file and see that LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mailPrimaryAddress":"email"} May be I have to change some js scripts, which respond to email addresses in Wekan users?
Please help me! Best Regards Plamen Gribachev
We have Wekan running, the UCS version. UCS is connected to our Windows Active Directory, so people can logon with their AD-credentials. One problem; Wekan uses our username@company.local adres as e-mail. In the UCS AD connector every field is ok. I think Wekan uses the logon name as e-mail adres. Is there a way to connect to the correct AD-field? Kind Regards Mike