On Thu, Jul 9, 2009 at 4:44 PM, TechnicalBard wrote:
>
> Have discovered what works - but it goes against the docs...
>
> I needed to set User.is_active = True. The permissions for admin
> (has_perm) appears to check this flag and returns False for inactive
> users.
>
>
Have discovered what works - but it goes against the docs...
I needed to set User.is_active = True. The permissions for admin
(has_perm) appears to check this flag and returns False for inactive
users.
Problem solved.
On Jul 9, 10:15 am, TechnicalBard wrote:
> Alas - that
Alas - that doesn't make a difference...
On Jul 8, 4:29 pm, Frédéric Hébert 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 :
>
>
>
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 :
>
> I'm trying to write an Active Directory / LDAP authenication, and I'm
> having problems. The code is at:
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 to http://localhost:8000/admin
and login to the development server, it authenticates against the LDAP
server
5 matches
Mail list logo