Your message dated Thu, 06 Nov 2008 09:32:11 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#503727: fixed in calendarserver 1.2.dfsg-8
has caused the Debian Bug report #503727,
regarding allow apache.BasicDirectoryService to work
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
503727: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503727
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: calendarserver
Version: 1.2.dfsg-6
Hi,
it would appear that apache.BasicDirectoryService is difficult to get to
work.
Note that the two parts might best be applied separately.
In config.py, parts of the code seem to explicitly cater for
non-preconfigured DirectoryServices, while the two the patch is changing
are not. (You possibly had similar a similar problem for the
NssDirectoryService.)
The second part moves the apache DirectoryServices to the
configured-via-keyword-args scheme. Naturally, the two assertions could
be replaced by checks with prettier exceptions to be raised for failures.
I did briefly join #calendarserver on freenode, but noone seemed to be
around when I asked about what is up with the apache DirectoryServices.
Kind regards
T.
--
Thomas Viehmann, http://thomas.viehmann.net/
--- twistedcaldav/config.py 2008-10-27 21:55:00.000000000 +0100
+++ /usr/share/pyshared/twistedcaldav/config.py 2008-10-27 21:02:40.000000000 +0100
@@ -218,14 +218,15 @@
self._data["DirectoryService"]["params"] = {}
for param in items.get("DirectoryService", {}).get("params", {}):
- if param not in serviceDefaultParams[dsType]:
+ if dsType in serviceDefaultParams and param not in serviceDefaultParams[dsType]:
raise ConfigurationError("Parameter %s is not supported by service %s" % (param, dsType))
_mergeData(self._data, items)
- for param in tuple(self._data["DirectoryService"]["params"]):
- if param not in serviceDefaultParams[self._data["DirectoryService"]["type"]]:
- del self._data["DirectoryService"]["params"][param]
+ if self._data["DirectoryService"]["type"] in serviceDefaultParams:
+ for param in tuple(self._data["DirectoryService"]["params"]):
+ if param not in serviceDefaultParams[self._data["DirectoryService"]["type"]]:
+ del self._data["DirectoryService"]["params"][param]
self.updateServerCapabilities()
--- twistedcaldav/directory/apache.py 2008-04-20 17:12:01.000000000 +0200
+++ /usr/share/pyshared/twistedcaldav/directory/apache.py 2008-10-27 21:57:28.000000000 +0100
@@ -40,7 +40,9 @@
def __repr__(self):
return "<%s %r: %r %r>" % (self.__class__.__name__, self.realmName, self.userFile, self.groupFile)
- def __init__(self, realmName, userFile, groupFile=None):
+ def __init__(self, realmName=None, userFile=None, groupFile=None):
+ assert realmName
+ assert userFile
super(AbstractDirectoryService, self).__init__()
if type(userFile) is str:
--- End Message ---
--- Begin Message ---
Source: calendarserver
Source-Version: 1.2.dfsg-8
We believe that the bug you reported is fixed in the latest version of
calendarserver, which is due to be installed in the Debian FTP archive:
calendarserver_1.2.dfsg-8.diff.gz
to pool/main/c/calendarserver/calendarserver_1.2.dfsg-8.diff.gz
calendarserver_1.2.dfsg-8.dsc
to pool/main/c/calendarserver/calendarserver_1.2.dfsg-8.dsc
calendarserver_1.2.dfsg-8_all.deb
to pool/main/c/calendarserver/calendarserver_1.2.dfsg-8_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guido Günther <[EMAIL PROTECTED]> (supplier of updated calendarserver package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 06 Nov 2008 09:57:56 +0100
Source: calendarserver
Binary: calendarserver
Architecture: source all
Version: 1.2.dfsg-8
Distribution: unstable
Urgency: low
Maintainer: Calendarserver Maintainers <[EMAIL PROTECTED]>
Changed-By: Guido Günther <[EMAIL PROTECTED]>
Description:
calendarserver - Apple's Calendar Server
Closes: 503727
Changes:
calendarserver (1.2.dfsg-8) unstable; urgency=low
.
* [8b63fa5] fix basic auth via apache directoryService (Closes:
#503727) - thanks to Thomas Viehmann for the patch
* [a9f92f3] minor fix: tabs vs. spaces
Checksums-Sha1:
393a6b0818309b29ae0e256782668ef91ff2149d 1355 calendarserver_1.2.dfsg-8.dsc
06444d81210cc12103ee065001ebae2e973ffa22 19229
calendarserver_1.2.dfsg-8.diff.gz
5a7e32a94a892a5aa84c2b12ea1409cbe6f4e528 289018
calendarserver_1.2.dfsg-8_all.deb
Checksums-Sha256:
b0a07a2c99ec0c548e9fdd9ad2261ad7c87d1263cb2a0c8e31a2a857c5d230be 1355
calendarserver_1.2.dfsg-8.dsc
9f951b520a7a0a82a1038c37aa2dd3cf153017959277459762ad93f1b1368689 19229
calendarserver_1.2.dfsg-8.diff.gz
5c3d0ba58d036a5ff8f679f9e49a2aa34964cea01e28bc7de02f3fdd460ecca9 289018
calendarserver_1.2.dfsg-8_all.deb
Files:
98787cc647852db97ddd9269a278eaba 1355 python optional
calendarserver_1.2.dfsg-8.dsc
c70e45298af1e2048bc1e0c34622345d 19229 python optional
calendarserver_1.2.dfsg-8.diff.gz
e1e66050b366d20feb63634cecf17303 289018 python optional
calendarserver_1.2.dfsg-8_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJErexn88szT8+ZCYRAlYOAJ9S1lzn7SuFXfxG+IjuvUgUsH+qDgCfahLt
0H62fmQoae8Nr90U7kFsbnE=
=SJO0
-----END PGP SIGNATURE-----
--- End Message ---