[pmwiki-users] ldap
Thomas Gemperli
gemperli at arch.ethz.ch
Mon Sep 10 03:19:14 CDT 2007
Hi
On 10.09.2007, at 09:46, Maria McKinley wrote:
> I am trying to get authentication using ldap working, and having a
> very hard time. here are the lines I added to local/config.php:
>
> ## Want entire site to be password-protected for editing.
> $DefaultPasswords['edit'] = crypt('edit_password');
> ## Want to use AuthUser so we can use ldap for passwords
> include_once("$FarmD/scripts/authuser.php");
> # use ldap.shadlen.org for authentication
> $AuthUser['ldap'] = 'ldap://ldap.shadlen.org/ou=people,dc=shadlen?
> dc=org?';
I'm using ldap, with the following config:
$AuthUser['ldap'] = "ldap://host.domain.tld/cn=users,dc=domain,dc=tld?
uid";
# Enable authuser extensions - MUST be BELOW every $AuthUser entry
in this file
include_once("$FarmD/scripts/authuser.php");
Make sure to include authuser.php below any $AuthUser lines.
Thomas
More information about the pmwiki-users
mailing list