On 6/04/2011 12:44am, Sells, Fred wrote:

Because our active directory contains many more users than are allowed to use my django app, I have a cron job that runs every 5 minutes and updates a mysql database with the subset I care about. That way if AD is offline at the time, I’m not hosed.


If you used django-ldap-groups you could create a security group of only those permitted to log in. I think that would be much more manageable than a cron job.

I thought to take the same line about eDirectory being off-line and not stopping access but although I could have done so, it would have introduced an unnecessary security hole. If eDirectory is off-line it is just tough. In my case it ain't supposed to be off-line.

Mike

*From:*django-users@googlegroups.com [mailto:django-users@googlegroups.com] *On Behalf Of *Szabo, Patrick (LNG-VIE)
*Sent:* Tuesday, April 05, 2011 3:47 AM
*To:* django-users@googlegroups.com
*Subject:* LDAP and 1.2

Hi,

has anyone sucessfully conncted their django 1.2 app with Active Directory ?!

Which snippet did you use ?!

I’m concastantly getting „Invalid credentials“ Error -.-

Kind regards

. . . . . . . . . . . . . . . . . . . . . . . . . .

Patrick Szabo
XSLT Developer

LexisNexis
Marxergasse 25, 1030 Wien

patrick.sz...@lexisnexis.at <mailto:patrick.sz...@lexisnexis.at>

Tel.: +43 (1) 534 52 - 1573

Fax: +43 (1) 534 52 - 146

--
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.

--
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.

--
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