/[smeserver]/rpms/e-smith-turba/sme8/e-smith-turba-3.2.0-LDAP_Group.patch
ViewVC logotype

Contents of /rpms/e-smith-turba/sme8/e-smith-turba-3.2.0-LDAP_Group.patch

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


Revision 1.1 - (show annotations) (download)
Tue May 11 04:46:21 2010 UTC (14 years, 6 months ago) by mrjhb3
Branch: MAIN
CVS Tags: e-smith-turba-3_2_0-14_el5_sme, e-smith-turba-3_2_0-17_el5_sme, e-smith-turba-3_2_0-15_el5_sme, e-smith-turba-3_2_0-16_el5_sme, HEAD
Please see changelog

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/20SMEAttributes mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/20SMEAttributes
2 --- e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/20SMEAttributes 1969-12-31 18:00:00.000000000 -0600
3 +++ mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/attributes.php/20SMEAttributes 2010-04-24 21:13:46.000000000 -0500
4 @@ -0,0 +1,13 @@
5 +
6 +/* SME Server attributes */
7 +$attributes['groupdescription'] = array(
8 + 'label' => _("Group Description"),
9 + 'type' => 'text',
10 + 'required' => false
11 +);
12 +$attributes['groupmembers'] = array(
13 + 'label' => _("Group Members"),
14 + 'type' => 'text',
15 + 'required' => false
16 +);
17 +
18 diff -Nur -x '*.orig' -x '*.rej' e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP
19 --- e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP 2010-04-24 21:16:29.000000000 -0500
20 +++ mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP 2010-04-24 21:15:50.000000000 -0500
21 @@ -67,6 +67,7 @@
22 // // is consulted for the syntax to use.
23 // 'checksyntax' => false,
24 'version' => 3,
25 + 'filter' => '&(!(mail=admin@{$DomainName}))',
26 //
27 // // For Active Directory you probably want to also set the following
28 // // parameters:
29 diff -Nur -x '*.orig' -x '*.rej' e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/60LocalLDAPGroups mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/60LocalLDAPGroups
30 --- e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/60LocalLDAPGroups 1969-12-31 18:00:00.000000000 -0600
31 +++ mezzanine_patched_e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/60LocalLDAPGroups 2010-04-24 21:14:52.000000000 -0500
32 @@ -0,0 +1,55 @@
33 +//60LocalLDAPGroups
34 +/**
35 + * A local address book in an LDAP directory. This implements a public
36 + * (shared) address book.
37 + *
38 + * To store distribution lists in the LDAP directory, you'll need to include
39 + * horde/scripts/ldap/horde.schema in your LDAP configuration.
40 + *
41 + * To store freebusy information in the LDAP directory, you'll need to include
42 + * turba/scripts/ldap/rfc2739.schema in your LDAP configuration.
43 + */
44 +$cfgSources['localldapgroups'] = array(
45 + 'title' => _("Local LDAP Groups"),
46 + 'type' => 'ldap',
47 + 'params' => array(
48 + 'server' => 'localhost',
49 + 'port' => 389,
50 + 'tls' => false,
51 +{
52 + my $domainName = $DomainName;
53 + $domainName =~ s/\./,dc=/g;
54 + $OUT = qq( 'root' => 'dc=$domainName',);
55 +}
56 + 'sizelimit' => 200,
57 + 'dn' => array('cn'),
58 + 'objectclass' => array('posixGroup'),
59 + 'scope' => 'sub',
60 + 'charset' => 'UTF-8',
61 + 'checkrequired' => false,
62 + 'checkrequired_string' => ' ',
63 + 'version' => 3,
64 + ),
65 + 'map' => array(
66 + '__key' => 'dn',
67 + '__uid' => 'uid',
68 + 'name' => 'cn',
69 + 'email' => 'mail',
70 + 'groupdescription' => 'description',
71 + 'groupmembers' => 'memberUid',
72 + ),
73 + 'search' => array(
74 + 'displayName',
75 + 'groupdescription',
76 + 'groupmembers',
77 + ),
78 + 'strict' => array(
79 + 'dn',
80 + ),
81 + 'approximate' => array(
82 + 'cn',
83 + ),
84 + 'export' => true,
85 + 'browse' => true,
86 +);
87 +

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