Difference between revisions of "Developers/Removing LDAP"

From PartKeepr Wiki
Jump to: navigation, search
(Created page with "Since the Symfony2 bundle configuration is a bit unflexible, we require the PHP-LDAP on the server. Otherwise we had to maintain two PartKeepr distributions - one with and one...")
 
 
Line 3: Line 3:
 
If you wish to remove LDAP, perform the following steps:
 
If you wish to remove LDAP, perform the following steps:
  
* Remove `new \FR3D\LdapBundle\FR3DLdapBundle(),` from app/AppKernel.php
+
* Remove <code>new \FR3D\LdapBundle\FR3DLdapBundle(),</code> from <code>app/AppKernel.php</code>
* Remove `fr3d_ldapbundle` from `app/config/security.yml`
+
* Remove <code>fr3d_ldapbundle,</code> from <code>app/config/security.yml</code>
* Remove - { resource: config_ldap.yml }` from `app/config/config.yml`and `config_setup_test.yml`
+
* Remove <code>- { resource: config_ldap.yml }</code> from <code>app/config/config.yml</code> and <code>config_setup_test.yml</code>
  
 
The steps are not tested.
 
The steps are not tested.

Latest revision as of 21:18, 2 October 2016

Since the Symfony2 bundle configuration is a bit unflexible, we require the PHP-LDAP on the server. Otherwise we had to maintain two PartKeepr distributions - one with and one without LDAP.

If you wish to remove LDAP, perform the following steps:

  • Remove new \FR3D\LdapBundle\FR3DLdapBundle(), from app/AppKernel.php
  • Remove fr3d_ldapbundle, from app/config/security.yml
  • Remove - { resource: config_ldap.yml } from app/config/config.yml and config_setup_test.yml

The steps are not tested.