Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #271 (new Defect)

Opened 4 years ago

Last modified 14 months ago

[PATCH] Name Service Switch (NSS) directory backend

Reported by: agx@… Owned by: sagen@…
Priority: 2: Expected Milestone: CalendarServer-3.x
Component: Calendar Server Severity: Other
Keywords: Cc: agx@…
Radar:

Description

This implements a simple NSS based user and group lookup directory service (it basically uses what's returned by the python's pwd and grp modules).

You can set a prefix for groups and ranges for uids/gids to make sure system users/groups don't end up having calendars.

This directory service is not doing any authentication, simply use Kerberos.

twistedcaldav.directory.nss.NssDirectoryService has some documentation in the top of the file.

Attachments

0001-add-name-service-switch-directory-backend.patch Download (8.8 KB) - added by agx@… 4 years ago.
0002-add-default-values-for-the-NSS-backend.patch Download (1.0 KB) - added by agx@… 4 years ago.
0003-add-guid.patch Download (3.3 KB) - added by agx@… 4 years ago.
add guid for easier identification of calendars on disk
nssdirectory-2.4.patch Download (11.5 KB) - added by rahul@… 17 months ago.
NSS Directory patch for calendarserver 2.4

Change History

Changed 4 years ago by agx@…

Changed 4 years ago by agx@…

Changed 4 years ago by wsanchez@…

  • status changed from new to assigned
  • priority changed from 5: Not set to 2: Expected
  • milestone set to 2.0

Cool.

Changed 4 years ago by agx@…

add guid for easier identification of calendars on disk

Changed 3 years ago by wsanchez@…

  • milestone changed from CalendarServer-2.2 to CalendarServer-2.x

Changed 3 years ago by wsanchez@…

  • milestone changed from CalendarServer-2.x to CalendarServer-3.x

Changed 17 months ago by rahul@…

NSS Directory patch for calendarserver 2.4

Changed 17 months ago by rahul@…

Hi, I've just uploaded a NSS directory service patch compatible with calendarservice 2.4. Changes from the previous version include:

- Changed the baseGUID for NSS Directory service as the previous value was not being accepted. - Removed making prefix mandatory as guid collisions is now not posssible. - The new directory service architecture in calendarserver now uses shortName for lookup. Therefore no user and group should have the same short name. Did not know how to enforce this. - PAM authentication added

Changed 14 months ago by wsanchez@…

  • status changed from assigned to new
  • owner changed from wsanchez@… to sagen@…
Note: See TracTickets for help on using tickets.