From 0a10b3260212982825d2bc78739ffef795ac63cb Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 7 Dec 2011 12:26:46 +1100 Subject: [PATCH] setup: Fix phpldapadmin configuration for version 1.2.x --- source4/setup/phpldapadmin-config.php | 28 ++++++++++----------------- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/source4/setup/phpldapadmin-config.php b/source4/setup/phpldapadmin-config.php index 5a4c2d7a6be..8a2f2153edb 100644 --- a/source4/setup/phpldapadmin-config.php +++ b/source4/setup/phpldapadmin-config.php @@ -1,28 +1,20 @@ newServer('ldap_pla'); /* A convenient name that will appear in the tree viewer and throughout phpLDAPadmin to identify this LDAP server to users. */ -$ldapservers->SetValue($i,'server','name','Samba4 LDAP Server'); -$ldapservers->SetValue($i,'server','host','${S4_LDAPI_URI}'); -$ldapservers->SetValue($i,'server','auth_type','session'); -$ldapservers->SetValue($i,'login','attr','dn'); +$servers->setValue('server','name','Samba4 LDAP Server'); +$servers->setValue('server','host','${S4_LDAPI_URI}'); +$servers->setValue('login','auth_type','session'); +$servers->setValue('login','attr','dn'); + ?> -- 2.34.1