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 /edx/b

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 insta

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 install

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

2015-03-13 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 it,

Re: Edx LDAP Auth setting

2015-02-26 Thread 'Yip Terence' via Django users
th python-ldap (forget about >> django_auth_ldap), try to connect to the server, perform 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 follo

Re: Edx LDAP Auth setting

2015-02-25 Thread 'Yip Terence' via Django users
e.net/show/d4348eb1b3dd > > You have 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 fig

Re: Edx LDAP Auth setting

2015-02-23 Thread 'Yip Terence' via Django users
one secretly feels one's job > 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 > > wrote: > > Hi L, > >

Re: Edx LDAP Auth setting

2015-02-23 Thread 'Yip Terence' via Django users
in to speak of dignity 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 > >

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. Seco

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 help