Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

LdapIgnoreTlsErrors and LdapIgnoreTlsValidation are not Documented #263

Closed
coofercat opened this issue Mar 4, 2019 · 3 comments
Closed
Assignees
Labels
documentation LDAP Provider wontfix Problem, or not; this won't be fixed here at least.

Comments

@coofercat
Copy link

PassCore Server

  • OS: [Linux (Docker)]
  • Provider: [LDAP (in a Windows AD)]
  • Settings file (without sensitive information):
docker run -e AppSettings__LdapHostnames__0='1.2.3.4' \
-e AppSettings__LdapHostnames__1='2.3.4.5' \
-e AppSettings__LdapUsername='CN=Password Changer,OU=Service Accounts,DC=example,DC=com' \
-e AppSettings__LdapPassword='password' \
-e AppSettings__LdapSearchBase="OU=dev,DC=example,DC=com" \
-e AppSettings__LdapPort='389' -e AppSettings__LdapStartTls=true \
-e AppSettings__LdapIgnoreTlsValidation=true -it -p 80:80 passcore:latest

Describe the bug
LdapIgnoreTlsErrors and LdapIgnoreTlsValidation are not described in any of the READMEs, and nor are they in the default appsettings.json.

Obviously this isn't a show-stopper, but to figure out how to ignore cert issues requires delving into source code (or finding this issue, I guess).

On the subject of finding things... for anyone else trying to make this work with Windows AD, you must have a certificate in Active Directory to provide TLS or SSL on LDAP to be able to change a password (it's a feature of AD, doesn't appear to be changeable). I'm not yet clear how you could convince the Docker image to trust the CA that generated the certs in AD though, so need to ignore cert validation issues for now.

On happier news, this all seems to work great with AWS Microsoft AD - so thanks very much for Passcore!

@stale
Copy link

stale bot commented Jul 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Problem, or not; this won't be fixed here at least. label Jul 6, 2019
@geoperez
Copy link
Member

geoperez commented Jul 9, 2019

WIP

@stale stale bot removed the wontfix Problem, or not; this won't be fixed here at least. label Jul 9, 2019
@geoperez geoperez assigned geoperez and unassigned MarcoLPR Jul 17, 2019
@stale
Copy link

stale bot commented Sep 15, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Problem, or not; this won't be fixed here at least. label Sep 15, 2019
@stale stale bot closed this as completed Sep 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation LDAP Provider wontfix Problem, or not; this won't be fixed here at least.
Projects
None yet
Development

No branches or pull requests

3 participants