First attempt at an ORM-like interface to the PRDB.
authorEvan Broder <broder@mit.edu>
Mon, 27 Jul 2009 08:08:59 +0000 (01:08 -0700)
committerEvan Broder <broder@mit.edu>
Thu, 19 Nov 2009 07:29:05 +0000 (02:29 -0500)
commit264e62aff58ab2cdc835cbce60cacca5b4d6236f
treea2d0f4105fbf45c49f5033bdb4fba6cae9b93333
parentfa8b281a9e135ed7b0380d783ec2b1e81594508e
First attempt at an ORM-like interface to the PRDB.

Missing features that should eventually be added:
 - Create/delete users/groups

 - Expose afs._pts.PTS._AfsToKrb5 and afs._pts.PTS._Krb5ToAfs.

   _Krb5ToAfs could be exposed as a method to return a PTEntry from a
   Kerberos principal, while _AfsToKrb5 could be a method (or
   property) of a PTEntry that returns the equivalent Kerberos
   principal.

Signed-off-by: Evan Broder <broder@mit.edu>
afs/pts.py [new file with mode: 0644]