/[smecontribs]/rpms/smeserver-roundcube/contribs8/smeserver-roundcube-0.9-LdapAdressbooks.patch
ViewVC logotype

Contents of /rpms/smeserver-roundcube/contribs8/smeserver-roundcube-0.9-LdapAdressbooks.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Oct 27 17:48:16 2013 UTC (11 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-roundcube-0_9-19_el5_sme, smeserver-roundcube-0_9-17_el5_sme, smeserver-roundcube-0_9-20_el5_sme, smeserver-roundcube-0_9-16_el5_sme, smeserver-roundcube-0_9-18_el5_sme, smeserver-roundcube-0_9-15, smeserver-roundcube-0_9-15_el5_sme, HEAD
Initial import of srpm

1 diff -Nur old-smeserver-roundcube-0.9/root/etc/e-smith/templates/opt/roundcube/config/main.inc.php/30Ldap_addressbook smeserver-roundcube-0.9/root/etc/e-smith/templates/opt/roundcube/config/main.inc.php/30Ldap_addressbook
2 --- old-smeserver-roundcube-0.9/root/etc/e-smith/templates/opt/roundcube/config/main.inc.php/30Ldap_addressbook 1970-01-01 01:00:00.000000000 +0100
3 +++ smeserver-roundcube-0.9/root/etc/e-smith/templates/opt/roundcube/config/main.inc.php/30Ldap_addressbook 2013-10-05 01:06:48.000000000 +0200
4 @@ -0,0 +1,27 @@
5 +$rcmail_config['login_lc'] = 2;
6 +$rcmail_config['ldap_public']['Local_LDAP'] = array('hosts' => array('localhost'),
7 + 'port' => 389,
8 +{
9 + $OUT .= " 'base_dn' \=\> " ."'". esmith::util::ldapBase($DomainName)."',";
10 +}
11 + 'search_fields' => array('Email' => 'mail', 'Name' => 'cn'),
12 + 'name_field' => 'cn',
13 + 'email_field' => 'mail',
14 + 'jobtitle_field' => 'title',
15 + 'phone:work_field' => 'telephoneNumber',
16 + 'street_field' => 'street',
17 + 'zipcode_field' => 'postalCode',
18 + 'region_field' => 'st',
19 + 'locality_field' => 'l',
20 + 'country_field' => 'c',
21 + 'organization_field' => 'o',
22 + 'department_field' => 'ou',
23 + 'scope' => 'sub',
24 + 'fuzzy_search' => 1);
25 +
26 +{
27 + $OUT .= "\$rcmail_config['autocomplete_addressbooks'] = array('sql','Local_LDAP');";
28 +
29 +}
30 +
31 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed