Package: kolab-webadmin Version: 0.4.0-20060810-4 Severity: normal *** Please type your report below this line ***
In brief: Still a bug in Etch (only). A bugfix patch is attached. I can reproduce bug 361000 [1] with kolab-webadmin 0.4.0-20060810-4. I even went to the considerable trouble to track down the -5 version (which has since disappeared from Etch and Lenny) to confirm that that didn't fix the issue either. Correcting the search path for a file that doesn't exist anywhere on my system did not do the trick. I assume the upstream CVS code was forked (or branched) for 2.x (1.x?) development work, which should account for the fact that the current (2.x) tree's oldest entry is dated 2005/12/30 and is significantly newer than Debian's "upstream release" code dated 2006/08/10. However, little of the code appears to have changed between Debian's 0.4 version and the 2.x CVS tree of kolab-webadmin [2]. This means that I was able to solve this problem with that as a reference. In this 2.x CVS tree, the entire block of code requiring this file was disabled some time before the aforementioned code fork/branching (the current CVS doesn't have dates beyond 2005/12/30, which already has this code disabled). The disabled code was completely removed for 2.2beta3. It is therefore safe to disable or remove here as well. I have attached a diff that will re-enable group account creation through kolab-webadmin. The comment is from the upstream authors, not me (see the upstream CVS [3]). Two notes on my patch: it affects the resulting user.php file rather than the upstream's user.php.in, so line numbers may be off, and the CVS data on the patch refers to my internal tracking rather than anything Debian/Kolab cares about. References: [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361000 [2] http://kolab.org/cvs-kolab.html [3] http://tinyurl.com/6awr9f (user.php.in @upstream Kolab viewcvs) -Adam -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable'), (1, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.18-6-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages kolab-webadmin depends on: ii php-net-sieve 1.1.3-1 net_sieve module for PEAR ii php4 6:4.4.4-8+etch4 server-side, HTML-embedde ii smarty 2.6.14-1etch1 Template engine for PHP kolab-webadmin recommends no packages. -- no debconf information
Index: user.php
===================================================================
RCS file: /var/lib/cvs/kolab-webadmin/admin/user/user.php,v
retrieving revision 1.1
diff -u -r1.1 user.php
--- user.php 18 Dec 2007 22:27:29 -0000 1.1
+++ user.php 3 Nov 2008 22:53:56 -0000
@@ -461,7 +461,13 @@
// We are editing our own password, let's update the session!
$auth->setPassword($_POST['password_0']);
}
- if( isset( $_POST['accttype'] ) && $_POST['accttype'] > 1 ) {
+
+ /* The code below is disabled for now because we're
+ not going to use that encrypted password anyway.
+
+ TODO: Clean it up once we're sure we don't want it
+ */
+ if( false && isset( $_POST['accttype'] ) && $_POST['accttype'] > 1 ) {
// We have a group or resource, create encrypted pw
$pubkeydata=file_get_contents("$kolab_prefix/etc/kolab/res_pub.pem" );
$pkey = openssl_pkey_get_public( $pubkeydata );
signature.asc
Description: OpenPGP digital signature

