{Disarmed} Re: [web2py] problem with ldap authentication

2017-03-13 Thread Carlos Cesar Caballero Díaz
Thanks Richard, i will try ASAP. Greetings. El 09/03/17 a las 13:37, Richard Vézina escribió: port=636, secure=True, self_signed_certificate=True, You should look at auth_ldap code if they all apply depends of your LDAP server... Things is I don't recall if I contribute all the change I

Re: {Disarmed} Re: [web2py] problem with ldap authentication

2017-03-09 Thread Richard Vézina
port=636, secure=True, self_signed_certificate=True, You should look at auth_ldap code if they all apply depends of your LDAP server... Things is I don't recall if I contribute all the change I made over my own auth_ldap, but the code is your source of truth... :) Richard On Thu, Mar 9, 2017

Re: {Disarmed} Re: [web2py] problem with ldap authentication

2017-03-09 Thread Richard Vézina
Associate parameters : On Thu, Mar 9, 2017 at 1:32 PM, Richard Vézina wrote: > You may try the SSL port 636 (http://www.openldap.org/faq/ > data/cache/185.html) > > > You may realise that it actually available... > > Richard > > On Thu, Mar 9, 2017 at 12:53 PM,

Re: {Disarmed} Re: [web2py] problem with ldap authentication

2017-03-09 Thread Richard Vézina
You may try the SSL port 636 ( http://www.openldap.org/faq/data/cache/185.html) You may realise that it actually available... Richard On Thu, Mar 9, 2017 at 12:53 PM, Carlos Cesar Caballero Díaz < carlos.caball...@cfg.jovenclub.cu> wrote: > I completely agree, and I have warned to the

{Disarmed} Re: [web2py] problem with ldap authentication

2017-03-09 Thread Carlos Cesar Caballero Díaz
I completely agree, and I have warned to the sysadmin, but is not my network, so... Greetings. El 09/03/17 a las 12:26, Richard Vézina escribió: Hello Carlos, auth_ldap is difficult to put in place because as you mention it doesn't provide proper feedback when something goes wrong...

Re: {Disarmed} Re: [web2py] problem with ldap authentication

2017-03-09 Thread Richard Vézina
Hello Carlos, auth_ldap is difficult to put in place because as you mention it doesn't provide proper feedback when something goes wrong... Note: If you access localhost instance of LDAP it may be ok to not use SSL protected service, but other than that you want to use 636 port (if I recall) and

{Disarmed} Re: [web2py] problem with ldap authentication

2017-03-09 Thread Carlos Cesar Caballero Díaz
Hi Richard, I am connecting against an OpenLDAP server, and here is a lot of services running against it (proxy, email, nextcloud, dolibarr, a few dozen of Ubuntu PCs and others). After a more accurate debugging I release that simple_bind_s() was throwing an invalid credentials error (will