dokunewb I've read the article on getting Active Directory authentication and DokuWiki to work together. I added this to my local.php $conf['authtype'] = 'ldap'; $conf['auth']['ldap']['server'] = 'ldap://server.domain.com:389'; $conf['auth']['ldap']['usertree'] = 'cn=users,dc=domain,dc=com'; $conf['auth']['ldap']['grouptree'] = 'cn=groups,dc=domain,dc=com'; $conf['auth']['ldap']['userfilter'] = '(&(uid=%{user})(objectClass=posixAccount))'; $conf['auth']['ldap']['groupfilter'] = '(&(objectClass=posixGroup)(memberUID=%{uid}))'; $conf['auth']['ldap']['version'] = 3; $conf['auth']['ldap']['debug'] = true; and I get 2 errors, LDAP err: PHP LDAP extension not found. [ldap.class.php:25] and User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin. I checked to see if that file ldap.class.php is there and it in the inc/auth directory. I tried some of the other ways to get it set up and none of them worked, although I didn't start getting the ldap.class.php error until I set my local.php to the above settings. I would just get the User authentication is temporarily unavailable error. Would having my domain controllers at Windows 2003 R2 do anything? Didn't know if they use a different version of LDAP.
andi Dokunewb wrote LDAP err: PHP LDAP extension not found. [ldap.class.php:25] You need the LDAP extension for PHP.
dokunewb I finally got time to to install ldap extension for php and now I get this error whenever I log in LDAP user search: Operations error [ldap.class.php:173] Sorry, username or password was wrong. Any suggestions? 1. copy php_ldap.dll from the extension folder to winnt/system32 2. edit winnt/php.ini so that ldap is enabled (uncomment the line). 3. restart IIS. I did this to install ldap for PHP
dokunewb I figured out what was wrong. I need to copy libeay32.dll and ssleay32.dll to the C:\Windows\system32 folder on the local drive. Works like a charm now.
les I had a slightly different experience. I got the messages "User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin" and something about Logon not being available when I tried to run the wiki with force_redirect = 1 and the php5isapi.dll instead of force_redirect = 0 and php-cgi.exe. I don't have libeay32.dll and ssleay32.dll to the C:\Windows\system32 folder but it works with php-cgi.exe. I also replaced the PHP folder with a newer version - php-5.0.5-Win32 I would like to get the wiki running with force_redirect = 1 and the php5isapi.dll instead of force_redirect = 0 and php-cgi.exe, but must have ldap authentication and ssl pages. Les