ticket_master = db.auth_user.insert(first_name=fname, last_name=lname, email=maile, password=db.auth_user.password.requires[0](passwd)[0]))
unless you have a custom auth_user model. In that case depdends on the password validator(s) -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en