Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #271 (new Defect)

Opened 7 years ago

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

Change History

Changed 7 years ago by agx@…

Changed 7 years ago by agx@…

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

add guid for easier identification of calendars on disk

comment:2 Changed 6 years ago by wsanchez@…

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

comment:3 Changed 6 years ago by wsanchez@…

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

Changed 5 years ago by rahul@…

NSS Directory patch for calendarserver 2.4

comment:4 Changed 5 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 4 years ago by wsanchez@…

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

comment:6 Changed 3 years ago by wsanchez@…

  • Milestone changed from CalendarServer-3.x to Later

comment:7 Changed 3 years ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

comment:8 Changed 3 years ago by kurt.leubner@…

  • Cc kurt.leubner@… removed

Cc Me!

comment:9 Changed 3 years ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

comment:10 Changed 3 years ago by kurt.leubner@…

  • Cc kurt.leubner@… removed

Cc Me!

comment:11 Changed 17 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.

comment:12 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:13 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:14 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:15 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:16 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:17 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:18 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:19 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:20 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:21 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:22 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:22 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:23 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:24 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:25 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:26 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:27 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:28 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:28 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:29 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:30 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:31 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:31 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:32 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:33 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:34 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:35 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:36 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:37 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:37 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:38 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:39 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:40 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:41 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:42 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:43 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:44 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:45 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:46 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:47 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:48 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:49 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:49 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:50 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:51 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:52 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:53 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:54 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:55 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:56 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:57 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:57 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:58 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:59 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:60 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:60 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:61 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:62 Changed 3 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:63 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:63 Changed 3 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:64 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:65 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:66 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:67 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:68 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:69 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:70 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:71 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:72 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:73 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:74 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:75 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:76 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:77 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:78 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:79 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:80 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:81 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:82 Changed 2 months ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:83 Changed 2 months ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:84 Changed 8 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:85 Changed 8 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:86 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:87 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:88 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:89 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:90 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:91 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:91 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:92 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:93 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:94 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:95 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:96 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:97 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:98 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:99 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:99 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:100 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:101 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:102 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:103 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:104 Changed 7 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:105 Changed 6 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:106 Changed 6 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:106 Changed 6 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:107 Changed 4 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:108 Changed 4 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:109 Changed 4 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:110 Changed 4 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:111 Changed 4 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:112 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:113 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:114 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:115 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:116 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:117 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:118 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:119 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:120 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:121 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:122 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:123 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:124 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:125 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:126 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:127 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:128 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:129 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:130 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:131 Changed 3 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:132 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:133 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:134 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:135 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:136 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:137 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:138 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:139 Changed 2 weeks ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:140 Changed 11 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:141 Changed 11 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:142 Changed 11 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:143 Changed 11 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:144 Changed 10 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:145 Changed 10 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:146 Changed 10 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:147 Changed 10 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:148 Changed 10 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:149 Changed 10 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:150 Changed 10 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:151 Changed 10 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:152 Changed 10 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:153 Changed 10 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:154 Changed 8 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:155 Changed 7 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:156 Changed 7 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:157 Changed 7 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:158 Changed 5 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:159 Changed 4 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:160 Changed 4 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:161 Changed 4 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:162 Changed 4 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:163 Changed 3 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

comment:164 Changed 3 days ago by sscanner@…

  • Cc sscanner@… added

Cc Me!

comment:165 Changed 3 days ago by sscanner@…

  • Cc sscanner@… removed

Cc Me!

Note: See TracTickets for help on using tickets.