Hi L, Actually, I has been input the LDAP string in /edx/app/edxapp/edx-platform/lms/envs/common.py. But there a two problems after the configuration. Firstly, the script can't get the %user value I need to hardcode the username / email in the connection string than I can login to edx. Secondly, can't to create an user profile when first login. Is it need to modify the views.py and urls.py file for collect the %user value and create the user profile? I have 2 version django in edx. ./edx/app/edxapp/venvs/edxapp/src/lettuce/tests/integration/lib/Django-1.3/django/bin/django-admin.py ./edx/app/edxapp/venvs/edxapp/src/lettuce/tests/integration/lib/Django-1.2.5/django/bin/django-admin.py ldap_auth_ldap: How can I find the version? I using the apt-get to install the package. The search settings.py result. -----------Setttings.py------------------- ./edx/app/xqueue/xqueue/xqueue/settings.py ./edx/app/xqueue/venvs/xqueue/lib/python2.7/site-packages/django/conf/project_template/project_name/settings.py ./edx/app/xqueue/venvs/xqueue/lib/python2.7/site-packages/newrelic-2.18.1.15/newrelic/api/settings.py ./edx/app/edxapp/edx-platform/common/test/acceptance/pages/studio/settings.py ./edx/app/edxapp/edx-platform/lms/djangoapps/django_comment_client/settings.py ./edx/app/edxapp/edx-platform/lms/lib/comment_client/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/django_countries/tests/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/method_override/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/example/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/django/conf/project_template/project_name/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/dealer/contrib/django/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/newrelic-2.18.1.15/newrelic/api/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/django_extensions/settings.py ./edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/appconf/tests/settings.py ./edx/app/edxapp/venvs/edxapp/src/django-pipeline/pipeline/conf/settings.py ./edx/app/edxapp/venvs/edxapp/src/django-pipeline/tests/settings.py ./edx/app/edxapp/venvs/edxapp/src/edx-val/edxval/settings.py ./edx/app/edxapp/venvs/edxapp/src/lettuce/tests/integration/lib/Django-1.3/django/conf/project_template/settings.py ./edx/app/edxapp/venvs/edxapp/src/lettuce/tests/integration/lib/Django-1.2.5/django/conf/project_template/settings.py ./usr/local/lib/python2.7/dist-packages/django/conf/project_template/project_name/settings.py Thank you very much for your assistance. Thanks and Regards, Terence Yip
Yip Terence於 2015年2月10日星期二 UTC+8下午12時00分30秒寫道: > 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1609da7e-6fec-43f9-bf0d-89761a4c97a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.