[CalendarServer-users] calendarserver on debian via nss and kerberos

Guido Günther agx at sigxcpu.org
Wed Mar 25 07:46:13 PDT 2009


On Tue, Mar 24, 2009 at 02:59:37PM +0100, root wrote:
> On Mon, Mar 23, 2009 at 07:10:51AM +0100, Guido Günther wrote:
> > On Tue, Mar 03, 2009 at 12:27:45PM +0100, Marco Ghidinelli wrote:
> > > hello,
> > > anyone was able to use calendarserver on debian 5 with users from  
> > > nssswitch and authentication via SPNEGO/Kerberos?
> > >
> > > I followed the README.Debian, but with no results.
> > To verify if NSS really works you can change:
> > 
> > +    def verifyCredentials(self, credentials):
> > +        # FIXME: plugin in PAM authentication here if you want to - kerberos works
> > +        #return super(NssUserRecord, self).verifyCredentials(credentials)
> > +        return False
> > 		^^^^^
> > 
> > To:
> > 
> > +    def verifyCredentials(self, credentials):
> > +        # FIXME: plugin in PAM authentication here if you want to - kerberos works
> > +        #return super(NssUserRecord, self).verifyCredentials(credentials)
> > +        return True
> > 	        ^^^^
> > 
> > in twistedcaldav/directory/nss.py. This will disable *all*
> > authentication but the first/lastValUid etc checks will still be in
> > place. Once this works we can try to work out why kerberos fails.
> 
> hello guido, 
> 
> i changed the line above, but with or without the change the result is 
> the same:
Did you allow for non kerberos authentication in your configuration? You
should can disable kerberos authentication completely for testing.
Cheers,
 -- Guido


More information about the calendarserver-users mailing list