/[pkg-kolab]/kolabd/trunk/debian/patches/110-cyrus-pts-ldap.diff
ViewVC logotype

Contents of /kolabd/trunk/debian/patches/110-cyrus-pts-ldap.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1598 - (hide annotations) (download)
Thu Feb 9 19:34:04 2012 UTC (15 months, 1 week ago) by sathieu
File size: 1846 byte(s)
Move to plain cyrus

- Recommends cyrus-admin (>= 2.4) and cyrus-imapd (>= 2.3.7)
  (Versioned dependencies because of annotation support)
- Use pts/ldap instead of group patch (Closes: #622777)

Thus, upload to experimental
1 sathieu 1598 Index: kolabd-2.3.2-20110531/templates/cyrus.conf.template
2     ===================================================================
3     --- kolabd-2.3.2-20110531.orig/templates/cyrus.conf.template 2011-12-05 21:27:24.000000000 +0100
4     +++ kolabd-2.3.2-20110531/templates/cyrus.conf.template 2011-12-05 21:30:49.000000000 +0100
5     @@ -87,6 +87,9 @@
6     #pop3s cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50
7     #lmtp cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20
8     # ----------------------------------------------
9     +
10     + # pts
11     + ptloader cmd="ptloader" listen="/var/run/cyrus/socket/ptsock" prefork=1
12     }
13    
14     EVENTS {
15     Index: kolabd-2.3.2-20110531/templates/imapd.conf.template
16     ===================================================================
17     --- kolabd-2.3.2-20110531.orig/templates/imapd.conf.template 2011-12-05 21:27:22.000000000 +0100
18     +++ kolabd-2.3.2-20110531/templates/imapd.conf.template 2011-12-05 21:34:31.000000000 +0100
19     @@ -326,3 +326,22 @@
20     #
21     # library traces
22     #debug_command: /usr/bin/ltrace -tt -n 2 -o /tmp/ltrace.cyrus.%s.%d -p %2$d <&- 2>&1 &
23     +
24     +auth_mech: pts
25     +pts_module: ldap
26     +ptscache_timeout: 10
27     +ptloader_sock: /var/run/cyrus/socket/ptsock
28     +ldap_group_base: @@@base_dn@@@
29     +ldap_member_base: @@@base_dn@@@
30     +ldap_scope: sub
31     +ldap_realm: @@@postfix-mydomain@@@ @@@postfix-mydestination|join( )@@@
32     +ldap_filter: (|(&(objectclass=gosaMailAccount)(uid=%U))(&(objectclass=kolabInetOrgPerson)(cn=%U)))
33     +ldap_group_filter: (&(objectclass=posixGroup)(cn=%U))
34     +ldap_sasl: 0
35     +ldap_member_method: filter
36     +ldap_member_filter: (&(objectclass=posixGroup)(memberUid=%U))
37     +ldap_member_attribute: cn
38     +# size limit determines the max number of groups a user may be
39     +# in before authentication fails
40     +ldap_size_limit: 64
41     +

  ViewVC Help
Powered by ViewVC 1.1.5