Posts

Showing posts with the label Tiki wiki

LDAP authentication (and groups mapping) with Active Directory that works in Tiki Wiki 16.2

Image
To make the LDAP authentication with MS Active  Directory works in Tiki Wiki 16.2, I have to do the set up both in LDAP and LDAP external groups tabs. 1. In Settings > Control Panels > Log in 2. In General Preferences tab: Authentication method section, select Tiki and LDAP   Uncheck Forgot password Uncheck Users can change their password    click Apply 3. In LDAP tab, set up as following (you may need to switch the Advanced mode on to see more settings): LDAP If user does not exist in Tiki: Create the user Uncheck Create user if not in LDAP  Check Use Tiki authentication for Admin login  LDAP Bind settings Host: ldap://<my-ldap-server-address> Port: 389 Write LDAP debug Information in Tiki Logs: <checked> LDAP Bind Type: Active Directory (username@domain) Search scope: Subtree LDAP version: 3 Base DN: DC=MYDOMAIN,DC=COM LDAP User User DN: OU=All Users (If you want to pull users from a speci...

LDAP authentication error in Tiki Wiki 16.2

Image
I just deployed a Tiki Wiki  16.2 instance on a Ubuntu 14.04 server. And then I was trying to add the LDAP authentication to it but the user got redirected to a blank page or error one saying that it could not be handled. It turns out that there is a bug in the PEAR module. Luckily, I could fix the bug by editing vendor_extra/pear/PEAR.php , renamed the following functions: function __construct($error_class = null) -> function PEAR($error_class = null) function __construct($message = 'unknown error', $code = null, -> function PEAR_Error($message = 'unknown error', $code = null, Remember, this is just a workaround. The fix was added in the daily build.