diff --git a/lib/keystone b/lib/keystone index d033a94f09..733f1bbc3e 100644 --- a/lib/keystone +++ b/lib/keystone @@ -506,6 +506,11 @@ function install_keystone { fi git_clone $KEYSTONE_REPO $KEYSTONE_DIR $KEYSTONE_BRANCH setup_develop $KEYSTONE_DIR + + if is_service_enabled ldap; then + setup_develop $KEYSTONE_DIR ldap + fi + if [ "$KEYSTONE_USE_MOD_WSGI" == "True" ]; then install_apache_wsgi if is_ssl_enabled_service "key"; then diff --git a/lib/ldap b/lib/ldap index 65056aea2f..4cea812d3c 100644 --- a/lib/ldap +++ b/lib/ldap @@ -145,8 +145,6 @@ function install_ldap { sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/inetorgperson.ldif fi - pip_install_gr ldappool - rm -rf $tmp_ldap_dir }