Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #271 (new Defect)

Opened 6 years ago

Last modified 4 months ago

[PATCH] Name Service Switch (NSS) directory backend

Reported by: agx@… Owned by: sagen@…
Priority: 2: Expected Milestone: Sooner
Component: twext Severity: Other
Keywords: Cc: agx@…
Port:

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 (8.8 KB) - added by agx@… 6 years ago.
0002-add-default-values-for-the-NSS-backend.patch (1.0 KB) - added by agx@… 6 years ago.
0003-add-guid.patch (3.3 KB) - added by agx@… 6 years ago.
add guid for easier identification of calendars on disk
nssdirectory-2.4.patch (11.5 KB) - added by rahul@… 4 years ago.
NSS Directory patch for calendarserver 2.4

Change History

Changed 6 years ago by agx@…

Changed 6 years ago by agx@…

comment:1 Changed 6 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 6 years ago by agx@…

add guid for easier identification of calendars on disk

comment:2 Changed 5 years ago by wsanchez@…

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

comment:3 Changed 5 years ago by wsanchez@…

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

Changed 4 years ago by rahul@…

NSS Directory patch for calendarserver 2.4

comment:4 Changed 4 years 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

comment:5 Changed 3 years ago by wsanchez@…

  • Status changed from assigned to new
  • Owner changed from wsanchez@… to sagen@…

comment:6 Changed 22 months ago by wsanchez@…

  • Milestone changed from CalendarServer-3.x to Later

comment:7 Changed 20 months ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

comment:8 Changed 19 months ago by kurt.leubner@…

  • Cc kurt.leubner@… removed

Cc Me!

comment:9 Changed 19 months ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

comment:10 Changed 19 months ago by kurt.leubner@…

  • Cc kurt.leubner@… removed

Cc Me!

comment:11 Changed 4 months ago by wsanchez@…

  • Component changed from Calendar Server to twext
  • Milestone changed from Later to Sooner

Now that twext.who is landed, this is worth a revisit.

Note: See TracTickets for help on using tickets.