Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing information about tls option in wekan.help #70

Open
hever opened this issue Oct 26, 2018 · 7 comments
Open

Missing information about tls option in wekan.help #70

hever opened this issue Oct 26, 2018 · 7 comments

Comments

@hever
Copy link

hever commented Oct 26, 2018

wekan.help:

ldap-encryption: If using LDAPS
Current value set to: 'false', (default value: 'false')

But there's also option 'tls' for non LDAPS but StartTLS only.

@xet7
Copy link
Member

xet7 commented Nov 7, 2018

@imkwx

Have you fixed this already?

@imkwx
Copy link

imkwx commented Nov 7, 2018

In my case, we are using LDAPS, yes. Setting LDAP_ENCRYPTION to 'tls' did work for us. I'm not sure I fully understand what's the issue here ?

@hever
Copy link
Author

hever commented Nov 8, 2018

@imkwx

Issue is here because of documentation, wekan.help, etc. There is no information, that you could use 'tls' option. I know it, because i want tls and studying code.

@imkwx
Copy link

imkwx commented Nov 8, 2018

Actually I don't see where the 'wekan.help' you mention, is. Can you provide me a link or anything else? Thanks !
In wekan/wekan#13 I added the precision about 'tls'. It was only merged recently.

@xet7
Copy link
Member

xet7 commented Nov 8, 2018

@imkwx

Help does not have any info about all different settings like false ssl etc.

https://github.com/wekan/wekan/blob/edge/snap-src/bin/wekan-help#L167

https://github.com/wekan/wekan/blob/edge/snap-src/bin/config#L181

@hever
Copy link
Author

hever commented Apr 17, 2019

Some more words to this issue.

@imkwx In LDAP world, there is three options how to transport data

  1. ldap:// on port 389 without any encryption (means plaintext password in network)
  2. ldap:// on port 389 with StartTLS, that means it start non encrypted and then make encrypted channel
  3. ldaps:// on port 636 that is starts encrypted from the begining.

But non encrypted ldap is suppressed now (windows won't talk without encryption in default) and ldaps is deprecated too (http://www.openldap.org/faq/data/cache/605.html). So, there is only one method for the future - ldap on port 389 with StartTLS.

If you setup your LDAP server like that and than you want to work with wekan, you don't know how. Because in manual (= help page), there is no word about StartTLS option.

You have to look at source code to discover existing of LDAP_ENCRYPTION = 'tls' option. It's time to make changes in manual for future.

@xet7
Copy link
Member

xet7 commented Apr 17, 2019

@xet7 xet7 transferred this issue from wekan/ldap Apr 20, 2019
@xet7 xet7 transferred this issue from wekan/wekan Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants