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

How can i collect profile information (E.g.: user_id and name..etc.) from database.

2015-03-14 Thread 'Yip Terence' via Django users
DearAll, How can i collect profile information (E.g.: user_id and name..etc.) from MySQL database? Thanks and Regards, Terence -- 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

Re: Edx LDAP Auth setting

2015-02-26 Thread 'Yip Terence' via Django users
a bind and get a >> feel for it. >> >> I normally open the shell and run something like this in it >> https://bpaste.net/show/d4348eb1b3dd >> >> You have to know the following: >> >> - protocol (secure or not) >> >> - IP or domain name of the

Re: Edx LDAP Auth setting

2015-02-25 Thread 'Yip Terence' via Django users
ve to know the following: > > - protocol (secure or not) > > - IP or domain name of the LDAP server > > - port > > - A full DN of one of the users would be useful but once you establish the > connection you can figure this out. > > I remember that I was using Django 1.5

Re: Edx LDAP Auth setting

2015-02-23 Thread 'Yip Terence' via Django users
should not exist?" > > On the Phenomenon of Bullshit Jobs, David Graeber > http://strikemag.org/bullshit-jobs/ > > > On 23 February 2015 at 19:09, 'Yip Terence' via Django users > <django...@googlegroups.com > wrote: > > Hi L, > > > > Actua

Re: Edx LDAP Auth setting

2015-02-23 Thread 'Yip Terence' via Django users
ty in labor when one secretly feels one's job > should not exist?" > > On the Phenomenon of Bullshit Jobs, David Graeber > http://strikemag.org/bullshit-jobs/ > > > On 10 February 2015 at 15:00, 'Yip Terence' via Django users > <django...@googlegroups.com > wrote:

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.

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