I am writing my own custom authentication for AD/ldap and I am trying to authenticate the user without saving the user in the Django User table. I also don't want the user to have to log in every time they want to view something. Is there any way to not save the user in the Django User table and keep them authenticated? I don't require them to access admin or anything, I just need them to be authenticated.
So far I have this as my backend (the ldap backend it falls back on after the default backend): http://dpaste.com/hold/128199/ But when I use that code, it is still saving the User model instance. I know, because the next time I log in I get a "Duplicate entry". I don't want to have to make a user for every person that logs into my django site via their ldap credentials if I can avoid it. I would greatly appreciate it if someone could point me in the right direction, or tell me what I'm doing wrong. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

