Loading...
 
Skip to main content

LDAP configuration not functioning

Status
Closed
Subject
LDAP configuration not functioning
Version
3.x
Category
  • Usability
  • Consistency
Feature
Database MySQL (MyISAM)
External Authentication (LDAP, AD, PAM, CAS, etc)
Submitted by
xepo23
Volunteered to solve
Philippe Cloutier
Lastmod by
Philippe Cloutier
Rating
(0)
Description

in file tiki-admin_include_login.php
if $_REQUEST%22auth_pear%22 {
check_ticket('admin-inc-login');
simple_set_toggle('auth_create_user_tiki');
............
....
.....
missing 2 lines below.
simple_set_value('auth_ldap_emailattr');
simple_set_value('auth_ldap_countryattr');

Missing database entries for ldap email and country

Solution

in file db\features.csv
add at end of file this two lines
1069,auth_ldap_emailattr,138,,auth_ldap_emailattr,simple,,tiki_p_admin,,,,,,
1070,auth_ldap_countryattr,138,,auth_ldap_countryattr,simple,,tiki_p_admin,,,,,,

optional (recommended)

in file lib\setup\prefs.php
before correction
'auth_ldap_emailattr' => '',
after correction
'auth_ldap_emailattr' => 'mail',

after all that mail and country attributes work fine

Priority
25
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
3207
Created
Thursday 03 June, 2010 12:37:21 UTC
by xepo23
LastModif
Friday 08 October, 2010 18:57:13 UTC


Collapse/expand modules below
Show PHP error messages