I finally have ldapauth working now, and a user who is in our LDAP
database can connect as a Django User.

But it's not entirely satisfactory. Before the LDAP user becomes a
Django User they have to try logging (which fails of course). Then they
become a Django User, and then they can have their privileges set so
that they can log in.

That's all a bit messy - can it be improved, somehow?

A second question. I have a class called Person; every Person is also a User.

What I would like, when creating a new Person, is to be able to attach
the Person to a user from the LDAP database (based on their LDAP
canonical name).

Our LDAP database has many thousands of people in it, by the way.

(Later I might need to deal with Persons who are Users who aren't in the
LDAP database, but that can be dealt with another time.)

Any suggestions on how to proceed there?

Thanks,

Daniele


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