[CalendarServer-changes] [1997] CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 29 14:19:30 PDT 2007


Revision: 1997
          http://trac.macosforge.org/projects/calendarserver/changeset/1997
Author:   cdaboo at apple.com
Date:     2007-10-29 14:19:29 -0700 (Mon, 29 Oct 2007)

Log Message:
-----------
Allow server to startup when SACL list is empty.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py

Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2007-10-29 20:05:14 UTC (rev 1996)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2007-10-29 21:19:29 UTC (rev 1997)
@@ -642,6 +642,9 @@
                             dsquery.match(dsattributes.kDS1AttrGeneratedUID,
                                           GUID, dsattributes.eDSExact))
 
+                    if not guidQueries:
+                        logging.warn("No SACL enabled users found.", system="OpenDirectoryService")
+                        return ()
 
                     query = dsquery.expression(dsquery.expression.OR,
                                                guidQueries)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20071029/6822fecb/attachment-0001.html


More information about the calendarserver-changes mailing list