Skip to content
Snippets Groups Projects
Commit 15c52748 authored by Olav Morken's avatar Olav Morken
Browse files

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
parent 01fd30b0
No related branches found
No related tags found
No related merge requests found
...@@ -282,17 +282,17 @@ The filter option names have recently changed, however the old config names will ...@@ -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 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: should still work. Below are the old config names and their new names:
array( array(
'ldap_host' => 'ldap.hostname', 'ldap_host' => 'ldap.hostname',
'ldap_port' => 'ldap.port', 'ldap_port' => 'ldap.port',
'ldap_bind_user' => 'ldap.username', 'ldap_bind_user' => 'ldap.username',
'ldap_bind_pwd' => 'ldap.password', 'ldap_bind_pwd' => 'ldap.password',
'userid_attribute' => 'attribute.username', 'userid_attribute' => 'attribute.username',
'ldap_search_base_dn' => 'ldap.basedn', 'ldap_search_base_dn' => 'ldap.basedn',
'ldap_search_filter' => 'search.filter', 'ldap_search_filter' => 'search.filter',
'ldap_search_attribute' => 'search.attribute', 'ldap_search_attribute' => 'search.attribute',
'new_attribute_name' => 'attribute.new' 'new_attribute_name' => 'attribute.new'
) )
### Example ### ### Example ###
...@@ -305,7 +305,7 @@ the specific attribute. ...@@ -305,7 +305,7 @@ the specific attribute.
'class' => 'ldapAttributeAddUsersGroups', 'class' => 'ldapAttributeAddUsersGroups',
'authsource' => 'example-ldap', 'authsource' => 'example-ldap',
'attribute.new' => 'my_ldap_attribute', 'attribute.new' => 'my_ldap_attribute',
'search.attribute' => 'displayName' 'search.attribute' => 'displayName',
'search.filter' => '(uniquemember=cn=%cn%,cn=users,cn=example,dc=org)' 'search.filter' => '(uniquemember=cn=%cn%,cn=users,cn=example,dc=org)'
) )
...@@ -320,7 +320,7 @@ required, see the config options for ldap:AttributeAddUsersGroups below. ...@@ -320,7 +320,7 @@ required, see the config options for ldap:AttributeAddUsersGroups below.
'ldap.password' => 'Abc123', 'ldap.password' => 'Abc123',
'ldap.basedn' => 'DC=example,DC=org', 'ldap.basedn' => 'DC=example,DC=org',
'attribute.new' => 'my_ldap_attribute', 'attribute.new' => 'my_ldap_attribute',
'search.attribute' => 'displayName' 'search.attribute' => 'displayName',
'search.filter' => '(uniquemember=cn=%cn%,cn=users,cn=example,dc=org)' 'search.filter' => '(uniquemember=cn=%cn%,cn=users,cn=example,dc=org)'
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment