Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-10-02 Thread Guido Günther
On Wed, Oct 01, 2008 at 04:24:58PM -0700, Ben Poliakoff wrote: > Alright I see what's going on. The NssDirectoryService is required by > the DirectoryService class to support three methods: > > recordTypes() > listRecords() > recordWithShortName() Thanks for debugging this! Now that w

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-10-01 Thread Ben Poliakoff
Alright I see what's going on. The NssDirectoryService is required by the DirectoryService class to support three methods: recordTypes() listRecords() recordWithShortName() My server is configured to use files and LDAP for NSS calls. We have several thousand users in our LDAP direct

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-10-01 Thread Ben Poliakoff
* Guido Günther <[EMAIL PROTECTED]> [20081001 01:53]: > > Using the XML backend seems to work fine (tested both with the example > > 'test' user and with a newly defined user): > Did you check if the user benp is in the valid uid range > [firstValidUid-lastValidUid]? Yes, benp's uid (25022) is in

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-10-01 Thread Guido Günther
On Tue, Sep 30, 2008 at 02:37:41PM -0700, Ben Poliakoff wrote: > * Guido Günther <[EMAIL PROTECTED]> [20080928 01:23]: > > On Fri, Sep 26, 2008 at 10:07:29AM -0700, Ben Poliakoff wrote: > > > ..pretty sure you meant /var/spool/caldavd. Permissions seem fine: > > Sure. Thanks. > > > > > > [EMA

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-30 Thread Ben Poliakoff
* Guido Günther <[EMAIL PROTECTED]> [20080928 01:23]: > On Fri, Sep 26, 2008 at 10:07:29AM -0700, Ben Poliakoff wrote: > > ..pretty sure you meant /var/spool/caldavd. Permissions seem fine: > Sure. Thanks. > > > > [EMAIL PROTECTED] ~]$ sudo su -s /bin/bash caldavd > > [EMAIL PROTECTED]:/h

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-28 Thread Guido Günther
On Fri, Sep 26, 2008 at 10:07:29AM -0700, Ben Poliakoff wrote: > ..pretty sure you meant /var/spool/caldavd. Permissions seem fine: Sure. Thanks. > > [EMAIL PROTECTED] ~]$ sudo su -s /bin/bash caldavd > [EMAIL PROTECTED]:/home/benp$ touch /var/spool/caldavd/test > [EMAIL PROTECTED]:/h

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-26 Thread Ben Poliakoff
* Guido Günther <[EMAIL PROTECTED]> [20080925 23:58]: > Hi Ben, > On Thu, Sep 25, 2008 at 11:36:44AM -0700, Ben Poliakoff wrote: > [..snip..] > > And /var/spool/caldavd/principals/users/benp is not created (even though > > the caldavd user has full privs on the /var/spool/caladavd directory). > Wh

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-26 Thread Guido Günther
Hi Ben, On Thu, Sep 25, 2008 at 11:36:44AM -0700, Ben Poliakoff wrote: [..snip..] > And /var/spool/caldavd/principals/users/benp is not created (even though > the caldavd user has full privs on the /var/spool/caladavd directory). What filesystem is this? You do have to set user_xattr: /usr/share/

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-25 Thread Ben Poliakoff
* Guido Günther <[EMAIL PROTECTED]> [20080924 00:19]: > severity 499963 normal > > On Tue, Sep 23, 2008 at 04:31:56PM -0700, Ben Poliakoff wrote: > > I'm trying to use calendarserver's NssDirectoryService. I've configured > > the service in /etc/caldavd/caldavd.plist, following the comments in t

Bug#499963: [Calendarserver-maintainers] Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-24 Thread Guido Günther
severity 499963 normal On Tue, Sep 23, 2008 at 04:31:56PM -0700, Ben Poliakoff wrote: > I'm trying to use calendarserver's NssDirectoryService. I've configured > the service in /etc/caldavd/caldavd.plist, following the comments in the > module '/usr/share/pyshared/twistedcaldav/directory/nss.py'

Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-23 Thread Ben Poliakoff
* Ben Poliakoff <[EMAIL PROTECTED]> [20080923 16:31]:: Meeting with Marty > Additionally calendar server logs the following to > /var/log/caldavd/error.log:> > 2008-09-23 16:15:03-0700 [-] [caldav-8008] [HTTPChannel,0,134.10.8.28] \ > 'No principal found for UID: benp' > 2008-09-23

Bug#499963: calendarserver: caldavd fails to authenticate and autocreate principal when running with NssDirectoryService

2008-09-23 Thread Ben Poliakoff
Package: calendarserver Version: 1.2.dfsg-6 Severity: important I'm trying to use calendarserver's NssDirectoryService. I've configured the service in /etc/caldavd/caldavd.plist, following the comments in the module '/usr/share/pyshared/twistedcaldav/directory/nss.py'. I've also configured Kerb