Hi F.D.,
I'm not sure is it the correct setting, but the setting is working for me. Please find the steps as follows.
1. Download LDAP packages
sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
2. Install Django LDAP Library
3. LDAP connection setup
4. Add DB model for select database record
5. Add the checking function in "if save_user"
6. Edit "LDAPSettings(object)"
7. Save and Exit.
8. Collect the user value and add create profile function in "views.py"
9. Add the following code after "if not third_party_auth_successful:"
10. Add the backend function to "common.py"
vi /edx/app/edxapp/edx-platform/lms/envs/common.py
11. Edit "AUTHENICATION_BACKENDS"
12. Edit "INSTALLED_APPS"
13. Add the backend function to "common.py"
vi /edx/app/edxapp/edx-platform/cms/envs/common.py
14. Edit "AUTHENICATION_BACKENDS"
15. Edit "INSTALLED_APPS"
16. Update the database record
cd /edx/app/edxapp/edx-platform
sudo -H -u edxapp bash
source /edx/app/edxapp/edxapp_env
paver update_db --se ttings=aws
17. Restart Service
Thanks and Regard s,
Terenc e Yi p
'Faruk D.' via Django users <django-users@googlegroups.com> 於 2016年12月19日 (週一) 9:20 PM 寫道﹕
Hi Y.,
Am Dienstag, 10. Februar 2015 05:00:30 UTC+1 schrieb Yip Terence:
-- could you slove this issue? If yes could you post your solution.
Best regards
F.D.
Am Dienstag, 10. Februar 2015 05:00:30 UTC+1 schrieb Yip Terence:
Dear All,I have been installed the open edx and django_auth_ldap package (http://code.edx.org/) in our environment. However, I'm not successful to config the Auth with LDAP. Could anyone could provide the guide to me? I don't know where is the settings.py file path in open edx.Please help.Thanks and Regards,Terence Yip
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/5bdd7fd6-884a-4354-9220-03b5b9197362%40googlegroups.com.
No comments:
Post a Comment