Re: [web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread Richard Vézina
we shouldn't test contribs as they should be tested somewhere else, though many of them don't have somewhere else place... :) auth_ldap fall in that category... On Wed, Apr 20, 2016 at 10:55 AM, Niphlod wrote: > on travis an openldap server can be installed but that being

Re: [web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread Niphlod
on travis an openldap server can be installed but that being said it's like opening a pandora's box : tests and coverage are really meant for anything NOT in contrib On Wednesday, April 20, 2016 at 4:31:11 PM UTC+2, Richard wrote: > > We should test ldap_auth... But how to with all the

Re: [web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread Richard Vézina
We should test ldap_auth... But how to with all the different implementation of LDAP... Simone, do you know if we can at least test Open LDAP easily? On Wed, Apr 20, 2016 at 10:29 AM, Richard Vézina < ml.richard.vez...@gmail.com> wrote: > :) > > On Wed, Apr 20, 2016 at 8:31 AM, Niphlod

Re: [web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread Richard Vézina
:) On Wed, Apr 20, 2016 at 8:31 AM, Niphlod wrote: > no problem. it's better a false bug report than noone checking the code at > all ^_^ > > > On Wednesday, April 20, 2016 at 1:08:18 PM UTC+2, flando wrote: >> >> >> right! my fault, didn't set "secure=True"... >> >> Thank

[web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread Niphlod
no problem. it's better a false bug report than noone checking the code at all ^_^ On Wednesday, April 20, 2016 at 1:08:18 PM UTC+2, flando wrote: > > > right! my fault, didn't set "secure=True"... > > Thank you Niphlod! > -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread flando
right! my fault, didn't set "secure=True"... Thank you Niphlod! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you

[web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread Niphlod
https://github.com/web2py/web2py/blob/master/gluon/contrib/login_methods/ldap_auth.py#L608 On Wednesday, April 20, 2016 at 9:37:25 AM UTC+2, flando wrote: > > we are using 2.13.4, in this version it is missing. > sorry for my post if it meanwhile got integrated! :) > > -- Resources: -

[web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread flando
we are using 2.13.4, in this version it is missing. sorry for my post if it meanwhile got integrated! :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

[web2py] Re: ldap_auth, TLS implementation

2016-04-20 Thread Niphlod
ahem isn't this added yet when cacert is not None ? On Wednesday, April 20, 2016 at 9:14:32 AM UTC+2, flando wrote: > > Hi > > To have ldap over tls working I had to add the following lines > in gluon/contrib/login_methods/ldap_auth.py to regard the cert file: > > 567 def init_ldap( > >