These are chat archives for allegro/ralph

16th
Mar 2017
PdeNiet
@PdeNiet
Mar 16 2017 10:53
@swb i had the same problem, just grabbed it from https://github.com/allegro/ralph i think
its in the root there
swb
@spencewb16_twitter
Mar 16 2017 14:18
@PatrickdeNiet ah ok - where do i put that txt file? also, do i need to get the entire requirements folder as well?
PdeNiet
@PdeNiet
Mar 16 2017 14:25
I think it's best to download the 'requirements' directory from github and place it in your ralph directory
and then probably something like 'sudo pip3 install -r requirements/prod_ldap.txt' from the main ralph folder
swb
@spencewb16_twitter
Mar 16 2017 23:00

so i followed @kasim1r and @damian1976 steps from back in September step for step (for configuring ldap configuration), and i get the following message:

No module named 'django_auth_ldap'

swb
@spencewb16_twitter
Mar 16 2017 23:07
waitttt a minute i think i might have actually got somewhere...
swb
@spencewb16_twitter
Mar 16 2017 23:17
now getting this instead:
ImproperlyConfigured at /login/
AUTH_LDAP_USER_SEARCH must be an LDAPSearch instance.
to be honest, not sure what to put in these fields/values:
AUTH_LDAP_USER_SEARCH_BASE = "OU=users,DC=private,DC=domain"
AUTH_LDAP_USER_SEARCH_FILTER = '(&(objectClass=)({0}=%(user)s))'.format(
AUTH_LDAP_USER_USERNAME_ATTR)
AUTH_LDAP_USER_SEARCH = LDAPSearch(AUTH_LDAP_USER_SEARCH_BASE,
ldap.SCOPE_SUBTREE, AUTH_LDAP_USER_SEARCH_FILTER)