ccs-twistedextensions icon indicating copy to clipboard operation
ccs-twistedextensions copied to clipboard

[PATCH] Name Service Switch (NSS) directory backend

Open macosforgebot opened this issue 17 years ago • 11 comments

@agx originally submitted this as ticket:271

  • Cc: @agx

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.

macosforgebot avatar Apr 27 '08 09:04 macosforgebot

@wsanchez originally submitted this as comment:1:⁠ticket:271

  • Status changed from new to assigned
  • Priority changed from 5: Not set to 2: Expected
  • Milestone set to 2.0

Cool.

macosforgebot avatar May 06 '08 23:05 macosforgebot

@agx originally submitted this as attachment:0003-add-guid.patch:⁠ticket:271


add guid for easier identification of calendars on disk

macosforgebot avatar Jun 23 '08 05:06 macosforgebot

@wsanchez originally submitted this as comment:2:⁠ticket:271

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

macosforgebot avatar Mar 26 '09 22:03 macosforgebot

@wsanchez originally submitted this as comment:3:⁠ticket:271

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

macosforgebot avatar Oct 26 '09 21:10 macosforgebot

rahul@… originally submitted this as attachment:nssdirectory-2.4.patch:⁠ticket:271


NSS Directory patch for calendarserver 2.4

macosforgebot avatar Dec 24 '10 17:12 macosforgebot

rahul@… originally submitted this as comment:4:⁠ticket:271


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

macosforgebot avatar Dec 24 '10 17:12 macosforgebot

@wsanchez originally submitted this as comment:5:⁠ticket:271

  • Owner changed from @wsanchez to @m0rgen
  • Radar deleted
  • Status changed from assigned to new

macosforgebot avatar Apr 05 '11 17:04 macosforgebot

@wsanchez originally submitted this as comment:6:⁠ticket:271

  • Milestone changed from CalendarServer-3.x to Later

macosforgebot avatar Sep 26 '12 20:09 macosforgebot

@wsanchez originally submitted this as comment:11:⁠ticket:271

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

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

macosforgebot avatar Apr 10 '14 18:04 macosforgebot