Re: Edx LDAP Auth setting

2021-05-27 Thread Shailesh Yadav
Can you paste the below code into settings.py and check the error log and how you have configured it?. Checking the log file in Terminal logger = logging.getLogger('django_auth_ldap') logger.addHandler(logging.StreamHandler()) logger.setLevel(logging.DEBUG) Thanks & Regards Shailesh Yadav

Re: Edx LDAP Auth setting

2021-05-27 Thread Adil Kadiyawala
Hello All, I have configured LDAP server and when I try to login then it throws an error : "*Authentication Failed Error*". Here is a log. Can you please help me to resolve it? login.py:398] - {'value': u'$ Traceback (most recent call last): File

Re: Edx LDAP Auth setting

2018-05-23 Thread Abdelkrime Agrou
Hi could you help me please, I would like to configure LDAP Active directory with my new installation of open edx native. Please help me to get that working. Thnaks Regards, Le lundi 13 février 2017 10:10:53 UTC, Faruk D. a écrit : > > Hi Yip, > > I could fix the issues. > > Thank you very

Re: Edx LDAP Auth setting

2017-02-13 Thread 'Faruk D.' via Django users
Hi Yip, I could fix the issues. Thank you very much for your help. Kind regard Faruk -- 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

Re: Edx LDAP Auth setting

2017-01-25 Thread Pierre-Philippe Fady
Sorry, i was wrong, you need to write : if not db_profile: Le mercredi 18 janvier 2017 21:10:56 UTC+1, Faruk D. a écrit : > > Hi Yip, > > Thanks for your Instruction. > > While trying to update the database record like you explained on step 16. > I got some error messages. > Im not so familar

Re: Edx LDAP Auth setting

2017-01-18 Thread 'Faruk D.' via Django users
Hi Yip, Thanks for your Instruction. While trying to update the database record like you explained on step 16. I got some error messages. Im not so familar with that django and python stuff. Im going to give a description of my errors. I hope someone can help me. I am using the following

Re: Edx LDAP Auth setting

2017-01-11 Thread Pierre-Philippe Fady
I found one solution : in this section : 9. Add the following code after “if not third_party_auth_successful:” I've replace if db_profile is user: by if db_profile is None: Le mercredi 11 janvier 2017 11:50:32 UTC+1, Pierre-Philippe Fady a écrit : > > > Thank you from this

Re: Edx LDAP Auth setting

2017-01-11 Thread Pierre-Philippe Fady
Thank you from this explications. Please could you help me about that ? I can connect with an account from LDAP the first time, but next, i've an error : IntegrityError: (1062, "Duplicate entry '37' for key 'user_id'") -- You received this message because you are subscribed to the Google

Re: Edx LDAP Auth setting

2017-01-03 Thread 'Yip Terence' via Django users
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 paver update_assets lms --settings=aws 17. Restart Service sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp: sudo

Re: Edx LDAP Auth setting

2017-01-03 Thread 'Yip Terence' via Django users
Dear all, 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 sudo pip install python-ldap 2. Install Django LDAP Library pip

Re: Edx LDAP Auth setting

2017-01-03 Thread 'Yip Terence' via Django users
Hi all, 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 sudo pip install python-ldap 2. Install Django LDAP Library pip

Re: Edx LDAP Auth setting

2016-12-19 Thread 'Faruk D.' via Django users
Hi Y., 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,

Re: Edx LDAP Auth setting

2016-08-05 Thread piglesias
Hi guys, I'm having some problems to add LDAP auth to my edx app. I've follow your steps but I'm not getting any exit in edx log... I can connect and make querys against my ldap server using shell. Could you help me? I'm using fullstack dogwood environment El jueves, 26 de febrero de 2015,

Re: Edx LDAP Auth setting

2015-02-26 Thread 'Yip Terence' via Django users
Hi M and L, Attached please find the output in /edx/var/log/lms/edx.log Django can't to get the %user value. Config: AUTH_LDAP_USER_SEARCH = LDAPSearch('OU=Users', ldap.SCOPE_SUBTREE,

Re: Edx LDAP Auth setting

2015-02-25 Thread 'Yip Terence' via Django users
Hi M, Actually, I can connect with our AD server, but I need to hardcode the user in the connection string so that I would like to ask for the solution about how can I get the %user value and create the profile. Maybe I can paste my connection string here for more easy to understand. I

Re: Edx LDAP Auth setting

2015-02-24 Thread Mario Gudelj
To check the version go to shell and run this: >>> import django_auth_ldap >>> django_auth_ldap.version (1, 1, 2) >>> As for virtualenv, it's a good practice but it's not necessary. By the way, have you tried performing a simple search on the LDAP server? I think that your best bet is to

Re: Edx LDAP Auth setting

2015-02-23 Thread 'Yip Terence' via Django users
Hi L, Thanks for your reply. I’m through pip to install the django-auth-ldap already. But there are two question here. 1. How can I check the django-auth-ldap version? 2. What do you mean of install via virt env? I’m follow the edX Ubuntu 12.04 +64 bit installation

Re: Edx LDAP Auth setting

2015-02-23 Thread Lachlan Musicman
Sorry, I've been organising a conference and have been awol. I'll be able to take a look next week. But quickly: I don't understand why you have two versions of Django, I would suggest that is an issue. You should be using django-auth-ldap, and that's got Django > 1.3 as a requirement. You

Re: Edx LDAP Auth setting

2015-02-23 Thread 'Yip Terence' via Django users
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.

Re: Edx LDAP Auth setting

2015-02-11 Thread 'Yip Terence' via Django users
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.

Re: Edx LDAP Auth setting

2015-02-09 Thread Lachlan Musicman
Yip, EDX looks complex - can you search for the settings file and report back? AuthLDAP is annoying, but it does work - I've used it successfully against an AD backend. The error messages are important to read. But first, find your settings file. You will need to provide us with more info too.

Edx LDAP Auth setting

2015-02-09 Thread 'Yip Terence' via Django users
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