1 Description: specify Debian path and group names in password plugin
3 Author: Jérémy Bobbio <lunar@debian.org>
5 Index: roundcube/plugins/password/README
6 ===================================================================
7 --- roundcube.orig/plugins/password/README 2012-09-29 11:30:56.595085968 +0200
8 +++ roundcube/plugins/password/README 2012-09-29 11:31:48.628126539 +0200
13 - Change into the drivers directory. Edit the chgsaslpasswd.c file as is
14 + Change into the drivers directory. Copy and edit
15 + /usr/share/roundcube-plugins/examples/chgsaslpasswd.c as is
18 Compile the wrapper program:
20 ----------------------------
22 As in sasl driver this one allows to change password using shell
23 - utility called "virtualmin". See drivers/chgvirtualminpasswd.c for
24 + utility called "virtualmin". See
25 + /usr/share/doc/roundcube-plugins/examples/chgvirtualminpasswd.c for
26 installation instructions. See also config.inc.php.dist file.
30 Driver that adds functionality to change the systems user password via
31 the 'chpasswd' command. See config.inc.php.dist file.
33 - Attached wrapper script (chpass-wrapper.py) restricts password changes
34 - to uids >= 1000 and can deny requests based on a blacklist.
35 + Attached wrapper script
36 + (/usr/share/doc/roundcube-plugins/examples/chpass-wrapper.py) restricts
37 + password changes to uids >= 1000 and can deny requests based on a blacklist.
40 2.12. LDAP - no PEAR (ldap_simple)
41 Index: roundcube/plugins/password/drivers/chgsaslpasswd.c
42 ===================================================================
43 --- roundcube.orig/plugins/password/drivers/chgsaslpasswd.c 2012-09-29 11:30:56.595085968 +0200
44 +++ roundcube/plugins/password/drivers/chgsaslpasswd.c 2012-09-29 11:31:48.628126539 +0200
48 gcc -o chgsaslpasswd chgsaslpasswd.c
49 - chown cyrus.apache chgsaslpasswd
50 + chown cyrus:www-data chgsaslpasswd
52 chmod 4550 chgsaslpasswd
54 Index: roundcube/plugins/password/drivers/chgvirtualminpasswd.c
55 ===================================================================
56 --- roundcube.orig/plugins/password/drivers/chgvirtualminpasswd.c 2012-09-29 11:30:56.595085968 +0200
57 +++ roundcube/plugins/password/drivers/chgvirtualminpasswd.c 2012-09-29 11:31:48.640126779 +0200
61 gcc -o chgvirtualminpasswd chgvirtualminpasswd.c
62 - chown root.apache chgvirtualminpasswd
63 + chown root:www-data chgvirtualminpasswd
64 strip chgvirtualminpasswd
65 chmod 4550 chgvirtualminpasswd