Permalink
Browse files

moved credentials to ldapcredentials.yml

  • Loading branch information...
Robert Elwell
Robert Elwell committed Oct 5, 2012
1 parent 8ecb9e9 commit c32d2d8d4c36023690b25e4c6caafc2ff232e0b5
Showing with 14 additions and 6 deletions.
  1. +1 −1 .gitignore
  2. +13 −5 LdapBundle/Resources/config/services.yml
View
@@ -1,4 +1,4 @@
*~
.settings
.buildpath
-LdapBundle/Resources/config/admincredentials.yml
+LdapBundle/Resources/config/ldapcredentials.yml
@@ -1,9 +1,17 @@
+imports:
+# ldapcredentials.yml is not tracked in git for security purposes.
+# it requires the following values to be set:
+# daps_ldap.ldap.admin.enable -- 0 or 1, depending on whether you want to bind as an admin before authenticating a user
+# daps_ldap.ldap.admin.dn -- the full dn of the admin value e.g. cn=admin,dc=example,dc=com
+# daps_ldap.ldap.admin.password -- admin password
+# daps_ldap.ldap.host -- the host value e.g. ldap://example.com
+# daps_ldap.ldap.port -- the port e.g. 389
+# daps_ldap.ldap.dn -- the dn prefix (e.g. uid)
+# daps_ldap.ldap.username_suffix -- any additional values required to authenticate after the dn prefix e.g. dc=example,dc=com
+
+ - { resource: ldapcredentials.yml }
+
parameters:
- # ldap params -- @TODO MOVE THESE SOMEPLACE BETTER
- daps_ldap.ldap.host: ldap://example.com
- daps_ldap.ldap.port: 389
- daps_ldap.ldap.dn: uid
- daps_ldap.ldap.username_suffix: dc=example,dc=com
# userprovider param
daps_ldap_user_provider.inactive_key_value: shadowflag=1
# class parameters

0 comments on commit c32d2d8

Please sign in to comment.