When I use the following on SQLite 

   manage_groups= True,
   manage_user = True,

1 entry in would come into db.auth_user

When I transferred to Oracle 11g
a new user logs in and I get two entries.

42      Mi Me [mme...        mme@...        None    None    None    None   
 None
43      mme        None    None    mme        None    None    None    mme

Log out and log in again. 
Then I get: 

43      Mi Me [mme...        mme@...        mme        None    None    None 
   mme

So row 43 is now getting updated.

Any thoughts.  Again the the only thing that chaged was default SQLite to 
Oracle 11g  as the main DB


See Context below:
-------

from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
auth = Auth(db)
crud, service, plugins = Crud(db), Service(), PluginManager()


## create all tables needed by auth if not custom tables
auth.define_tables(username=True, signature=False)

# all we need is login
auth.settings.actions_disabled=['register','change_password','request_reset_password','retrieve_username','profile']
#auth.settings.login_onvalidation = []
# you don't have to remember me
auth.settings.remember_me_form = False

#http://www.computerperformance.co.uk/Logon/LDAP_attributes_active_directory.htm
# ldap authentication and not save password on web2py
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods = [ldap_auth(mode='ad',
   manage_groups= True,
   db = db,
   manage_user = True,
   user_firstname_attrib = 'cn:1',
   user_lastname_attrib = 'sn',
   group_member_attrib = 'member',
   group_filterstr = 'objectClass=Group',
   server='somethign.com',
   base_dn='DC=corp,DC=something,DC=com')]



-- 
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 are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to