Hi if i can get it to work i will be sure to post it right here :-)
On 15 Sep., 13:32, madyogi <[EMAIL PROTECTED]> wrote: > Please, > when you have figured out how to do that, share it with us. > Though very new to django, I am also really curious about know how to > set up LDAP on the existing django Application. > I really need it for my project in the future. > > Thanks you very much in Advance. > > On Sep 15, 1:15 pm, PeteDK <[EMAIL PROTECTED]> wrote: > > > > > thanks. > > > But i have already read the documentation, however i can't figure out > > how to use the LDAP backend which is why im seeing help here :-) > > > My biggest problem(i think) is that i don't know what all the DC, OU, > > CN, BIND etc. stand for, so i could use some help towards what i > > should put in my settings.py file :-) > > > On 15 Sep., 13:08, Graham Dumpleton <[EMAIL PROTECTED]> > > wrote: > > > > I can't help you in that case, but do start by reading the Django > > > documentation. A search for LDAP yields: > > > > http://docs.djangoproject.com/en/dev/topics/auth/ > > > > Graham > > > > On Sep 15, 8:39 pm, PeteDK <[EMAIL PROTECTED]> wrote: > > > > > Thanks for the reply. > > > > > I would like to do it in HTMl. I actually already have a login page > > > > that i would like to use. > > > > :-) > > > > > On Sep 15, 12:20 pm, Graham Dumpleton <[EMAIL PROTECTED]> > > > > wrote: > > > > > > On Sep 15, 7:11 pm, PeteDK <[EMAIL PROTECTED]> wrote: > > > > > > > I have done some searching on other forums and it seems that django > > > > > > already has a LDAP module that can be imported? > > > > > > > If this is the easiest way then i would just like to know how to > > > > > > import it and what credentials of my own i should use, and where in > > > > > > the "settings.py" file i should use them :-) > > > > > > >http://code.djangoproject.com/attachment/ticket/2507/ldapauth.py > > > > > > i have looked in this LDAP file but i can't figure out what of the > > > > > > settings to use? :) > > > > > > The question is, do you want HTTP Basic authentication which is > > > > > handled by Apache used whereby the browser pops up a login window, or > > > > > do you want a HTML form based login page where the later is handled by > > > > > Django rather than Apache. Which you use determines which way you > > > > > would want to do it. If you don't want the HTML form based login page > > > > > approach in conjunction with Django session management and only one > > > > > HTTP Basic authentication, easier to do it in Apache. > > > > > > Graham --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---