Friday, December 1, 2017

ldap server authentication

Hi, I am a beginner django programmer.

I would like to authenticate users of my web application to an ldap server (which has about 1000 users defined).

Not all users of the ldap server must be able to access the web application (only 50 ldap users must have access to the web application).

First problem: I can not authenticate users on ldap server. I referred to https://django-auth-ldap.readthedocs.io/en/latest/ and some articles on the Internet. Do you have any simple examples? I just want to check username and password.

Second issue: once the user has been authenticated on the ldap server, I must verify that he can access the web application. How can I do? Do I have to define it on Django too? How?

Third issue: web application users must have different permissions in using the application. Permissions are defined on Django. How can I link ldap users (only 50) to these permissions?

Thanks
pacopyc

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1f564b8b-da63-4f13-8305-906536f3f386%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment