aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-06 14:37:03 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-06 14:37:03 +0000
commitf44df83db515dc773c188fed7102518a6c3fa1e6 (patch)
tree81e093a2a2e1bdee7dbf54f301e4c3d21f300351 /doc
parent928ab39333bd4b1972b1b7ae807be1d11e7787c1 (diff)
downloadsemanticscuttle-f44df83db515dc773c188fed7102518a6c3fa1e6.tar.gz
semanticscuttle-f44df83db515dc773c188fed7102518a6c3fa1e6.tar.bz2
example for ldap authentification
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@635 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'doc')
-rw-r--r--doc/authentication.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/authentication.txt b/doc/authentication.txt
index fb29c82..da49e5a 100644
--- a/doc/authentication.txt
+++ b/doc/authentication.txt
@@ -173,3 +173,25 @@ function md5_mediawiki($password) {
return ':A:' . md5($password);
}
-8<------------------
+
+
+Active Directory / LDAP
+-----------------------
+Here we authenticate against an active directory server.
+
+config.php settings:
+-8<------------------
+$serviceoverrides['User'] = 'SemanticScuttle_Service_AuthUser';
+$authType = 'LDAP';
+$authOptions = array(
+ 'host' => '192.168.1.4',
+ 'version' => 3,
+ 'basedn' => 'DC=EXAMPLE,DC=ORG',
+ 'binddn' => 'readuser',
+ 'bindpw' => 'readuser',
+ 'userattr' => 'sAMAccountName',
+ 'userfilter' => '(objectClass=user)',
+ 'attributes' => array(''),
+);
+$authEmailSuffix = '@example.org';
+-8<------------------