Alas - that doesn't make a difference...

On Jul 8, 4:29 pm, Frédéric Hébert <fg.heb...@gmail.com> wrote:
> Hi,
>
>  Maybe,  should you put is_staff=True :
>
> http://docs.djangoproject.com/en/dev/topics/auth/#users
>
> Regards,
>
> Frédéric
>
> 2009/7/8 Technicalbard <rodwe...@gmail.com>:
>
>
>
>
>
>
>
> > I'm trying to write an Active Directory / LDAP authenication, and I'm
> > having problems.  The code is at:http://dpaste.com/hold/64752/
>
> > When I set this authentication and then try to go 
> > tohttp://localhost:8000/admin
> > and login to the development server, it authenticates against the LDAP
> > server (the print statements indicate as such in the django console),
> > and it does create a new django user in the database.  But it doesn't
> > redirect me to the admin interface.  It brings back the login screen
> > with the error message:
>
> > Please enter a correct username and password. Note that both fields
> > are case-sensitive.
>
> > Except I know that I did because the database was updated.  What am I
> > doing wrong?
>
> --http://www.openidfrance.fr/fhebert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to