From 15c5274803808b244f4754554dea0fc76e96d279 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Fri, 2 Dec 2011 10:47:18 +0000 Subject: [PATCH] ldap: A couple of documentation fixes: - Fix indentation of a code block. - Add a couple of missing commas in configuration example. Thanks to Ryan Panning for this fix! git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2990 44740490-163a-0410-bde0-09ae8108e29a --- modules/ldap/docs/ldap.txt | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/ldap/docs/ldap.txt b/modules/ldap/docs/ldap.txt index 946c3737d..0efa1fff6 100644 --- a/modules/ldap/docs/ldap.txt +++ b/modules/ldap/docs/ldap.txt @@ -282,17 +282,17 @@ The filter option names have recently changed, however the old config names will converted to the new names automatically. That way any existing/older config's should still work. Below are the old config names and their new names: -array( - 'ldap_host' => 'ldap.hostname', - 'ldap_port' => 'ldap.port', - 'ldap_bind_user' => 'ldap.username', - 'ldap_bind_pwd' => 'ldap.password', - 'userid_attribute' => 'attribute.username', - 'ldap_search_base_dn' => 'ldap.basedn', - 'ldap_search_filter' => 'search.filter', - 'ldap_search_attribute' => 'search.attribute', - 'new_attribute_name' => 'attribute.new' -) + array( + 'ldap_host' => 'ldap.hostname', + 'ldap_port' => 'ldap.port', + 'ldap_bind_user' => 'ldap.username', + 'ldap_bind_pwd' => 'ldap.password', + 'userid_attribute' => 'attribute.username', + 'ldap_search_base_dn' => 'ldap.basedn', + 'ldap_search_filter' => 'search.filter', + 'ldap_search_attribute' => 'search.attribute', + 'new_attribute_name' => 'attribute.new' + ) ### Example ### @@ -305,7 +305,7 @@ the specific attribute. 'class' => 'ldapAttributeAddUsersGroups', 'authsource' => 'example-ldap', 'attribute.new' => 'my_ldap_attribute', - 'search.attribute' => 'displayName' + 'search.attribute' => 'displayName', 'search.filter' => '(uniquemember=cn=%cn%,cn=users,cn=example,dc=org)' ) @@ -320,7 +320,7 @@ required, see the config options for ldap:AttributeAddUsersGroups below. 'ldap.password' => 'Abc123', 'ldap.basedn' => 'DC=example,DC=org', 'attribute.new' => 'my_ldap_attribute', - 'search.attribute' => 'displayName' + 'search.attribute' => 'displayName', 'search.filter' => '(uniquemember=cn=%cn%,cn=users,cn=example,dc=org)' ) -- GitLab