Thanks for the response - I am going to try and use Apache to perform the
LDAP authentication
On Monday, March 25, 2019 at 2:41:13 AM UTC+2, Graham Dumpleton wrote:
>
> Another delayed response due to message being missed while was on a trip.
>
> When using Apache on Windows, the default
Just figured it out - there was an incompatibility with flask_validator
classes - so I wrote my own and now all works fine. The SSL error was
apparently incorrect now everything works fine
Thanks
On Monday, March 25, 2019 at 2:37:08 AM UTC+2, Graham Dumpleton wrote:
>
> Sorry for the delay.
Sorry for the delay. This got lost when I was away on a trip.
First up, I don't recommend using Python 2.7. It is almost impossible to get
working with Apache and mod_wsgi on Windows now. Use Python 3.6 or later.
As to the error, since you are using port 5000 and trying to enable HTTPS on
it,
I am using Flask and Python 2.7 on Windows. The Flask development server
works fine. However when I try to use on Apache at the first time the
server is accessed I get a "microsoft visual c ++ runtime error r6034"
dialog box.
After clicking OK the server functions without any other runtime
Using:
- Flask
- Windows
- Ldap3
- Connect using TLS
- Attaching Apache mod conf file
Using Flask development server ldap user \ password authenticated fine.
When calling in Apache mod_wsgi received "unknown encoding: cp0" error on
bind()
Appreciate any ideas.
Below is the
Another delayed response due to message being missed while was on a trip.
When using Apache on Windows, the default language locale isn't necessarily
UTF-8, but something else. In this case, the LDAP module appears to not be
tolerant of strange locale values.
I know how to override locale etc