Re: [web2py][LDAP] once authenticated with LDAP I got "No fields to update"

2013-08-05 Thread Richard Vézina
The only remaining issue I see, is that ldap_auth always update last_name and it seems to not retrieve the last_name in AD so it set empty last_name... :( Richard On Mon, Aug 5, 2013 at 4:10 PM, Richard Vézina wrote: > Finally found the issue!! > > Since I had custom auth and I did that long t

Re: [web2py][LDAP] once authenticated with LDAP I got "No fields to update"

2013-08-05 Thread Richard Vézina
Finally found the issue!! Since I had custom auth and I did that long time ago, "registration_id" were missing. I think this field have been added since that time. :) Richard On Mon, Aug 5, 2013 at 11:00 AM, Richard Vézina wrote: > DAL line : 9989 > if not fields: > raise SyntaxE

Re: [web2py][LDAP] once authenticated with LDAP I got "No fields to update"

2013-08-05 Thread Richard Vézina
DAL line : 9989 if not fields: raise SyntaxError("No fields to update") How can I fall on this error from login page? Richard On Fri, Aug 2, 2013 at 10:12 AM, Richard Vézina wrote: > Response : > INFO:web2py.auth.ldap_auth:[serverName] Initialize ldap connection > > So, I guess I

Re: [web2py][LDAP] once authenticated with LDAP I got "No fields to update"

2013-08-02 Thread Richard Vézina
Response : INFO:web2py.auth.ldap_auth:[serverName] Initialize ldap connection So, I guess I should search somewhere... It seems to come from a non closing bracket leaved somewhere cause of refactoring for LDAP... Thanks Richard On Fri, Aug 2, 2013 at 4:23 AM, szimszon wrote: > Could you try

Re: [web2py][LDAP] once authenticated with LDAP I got "No fields to update"

2013-08-02 Thread szimszon
Could you try setting the logging_level to debug? from gluon.contrib.login_methods.ldap_auth import ldap_auth auth.settings.login_methods.append(ldap_auth(mode='ad', bind_dn='userName', bind_pw='passWord', manage_groups=False, server='serverName', base_dn='ou=OU,ou=OU,dc=DC,dc=DC', lo

[web2py][LDAP] once authenticated with LDAP I got "No fields to update"

2013-08-01 Thread Richard
Hello, I am trying to implement LDAP authentication right now and I am falling on issue "No fields to update". As far as I know the authencation is working since I only start to have this issue once the it happen something else then have the same login blank form again and again. So, I think I