On Mon, Jul 20, 2009 at 9:35 PM, Daniele Procida <[email protected]>wrote:
> > 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? This might help you out: http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

