invirt/packages/python-afs.git
15 years agoRemove the reserved field from prcheckentry, since it doesn't seem to
Evan Broder [Sun, 15 Mar 2009 22:49:44 +0000 (18:49 -0400)] 
Remove the reserved field from prcheckentry, since it doesn't seem to
be used by anything.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoIgnore the nusers field in prcheckentry, since it seems to always be
Evan Broder [Sun, 15 Mar 2009 22:49:10 +0000 (18:49 -0400)] 
Ignore the nusers field in prcheckentry, since it seems to always be
the same as ngroups.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd a ListEntry option for getting more information about an entity.
Evan Broder [Sun, 15 Mar 2009 22:48:14 +0000 (18:48 -0400)] 
Add a ListEntry option for getting more information about an entity.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd a PTEntry class corresponding to the ptcheckentry struct, and
Evan Broder [Sun, 15 Mar 2009 22:47:18 +0000 (18:47 -0400)] 
Add a PTEntry class corresponding to the ptcheckentry struct, and
methods to convert between the two.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoSpecifically use size_t for the malloc import.
Evan Broder [Sun, 15 Mar 2009 22:07:29 +0000 (18:07 -0400)] 
Specifically use size_t for the malloc import.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoMove the PTS.__cinit__ docstring to being the class docstring.
Evan Broder [Sun, 15 Mar 2009 20:12:05 +0000 (16:12 -0400)] 
Move the PTS.__cinit__ docstring to being the class docstring.

That way it actually gets displayed.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd ListOwned call.
Evan Broder [Sun, 15 Mar 2009 19:09:54 +0000 (15:09 -0400)] 
Add ListOwned call.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoListMembers can take either a UID or a GID - document both.
Evan Broder [Sun, 15 Mar 2009 18:48:02 +0000 (14:48 -0400)] 
ListMembers can take either a UID or a GID - document both.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoDon't ignore lists overflowing the display limit.
Evan Broder [Sun, 15 Mar 2009 18:44:42 +0000 (14:44 -0400)] 
Don't ignore lists overflowing the display limit.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd ListMembers.
Evan Broder [Sun, 15 Mar 2009 18:36:59 +0000 (14:36 -0400)] 
Add ListMembers.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd RemoveFromGroup.
Evan Broder [Sun, 15 Mar 2009 18:00:36 +0000 (14:00 -0400)] 
Add RemoveFromGroup.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd a given UID to a given GID
Evan Broder [Sun, 15 Mar 2009 17:50:30 +0000 (13:50 -0400)] 
Add a given UID to a given GID

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoThrow a PRNOENT exception when looking up PTS IDs or names when the
Evan Broder [Sun, 15 Mar 2009 12:30:25 +0000 (08:30 -0400)] 
Throw a PRNOENT exception when looking up PTS IDs or names when the
entity in question doesn't exist.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoHorray for docstrings!
Evan Broder [Sun, 15 Mar 2009 07:33:29 +0000 (03:33 -0400)] 
Horray for docstrings!

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd support to PTS for Delete.
Evan Broder [Sun, 15 Mar 2009 07:00:24 +0000 (03:00 -0400)] 
Add support to PTS for Delete.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoFix a typo in one of the #defines.
Evan Broder [Sun, 15 Mar 2009 06:53:08 +0000 (02:53 -0400)] 
Fix a typo in one of the #defines.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd CreateGroup support.
Evan Broder [Sun, 15 Mar 2009 06:28:40 +0000 (02:28 -0400)] 
Add CreateGroup support.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd CreateUser wrapper.
Evan Broder [Sun, 15 Mar 2009 06:12:08 +0000 (02:12 -0400)] 
Add CreateUser wrapper.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd wrappers for ubik_PR_IDToName and ubik_PR_NameToID.
Evan Broder [Sun, 15 Mar 2009 05:26:27 +0000 (01:26 -0400)] 
Add wrappers for ubik_PR_IDToName and ubik_PR_NameToID.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoApparently every time you write trailing spaces, God kills a kitten
Evan Broder [Sun, 15 Mar 2009 03:38:31 +0000 (23:38 -0400)] 
Apparently every time you write trailing spaces, God kills a kitten

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoSimplify the libraries being used.
Evan Broder [Sun, 4 Jan 2009 05:53:00 +0000 (00:53 -0500)] 
Simplify the libraries being used.

Thanks to -c shadow @ANDREW.CMU.EDU for the assistance.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoGet PyAFS to build on Linux.
Evan Broder [Sun, 4 Jan 2009 03:34:43 +0000 (22:34 -0500)] 
Get PyAFS to build on Linux.

I'm...not even entirely sure what all I had to do here.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoUse afs_error_message instead of the more conflicting error_message.
Evan Broder [Sun, 4 Jan 2009 03:32:12 +0000 (22:32 -0500)] 
Use afs_error_message instead of the more conflicting error_message.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoFinish the PTS connection initialization code (and deinitialize, too).
Evan Broder [Sun, 21 Dec 2008 22:16:38 +0000 (16:16 -0600)] 
Finish the PTS connection initialization code (and deinitialize, too).

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoSetup the rx connections for the Ubik client.
Evan Broder [Sun, 21 Dec 2008 21:21:13 +0000 (15:21 -0600)] 
Setup the rx connections for the Ubik client.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoKill the annoying a. prefix for externally included objects.
Evan Broder [Sun, 21 Dec 2008 20:53:45 +0000 (14:53 -0600)] 
Kill the annoying a. prefix for externally included objects.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoSwitch to Cython instead of Pyrex
Evan Broder [Sun, 21 Dec 2008 20:47:30 +0000 (14:47 -0600)] 
Switch to Cython instead of Pyrex

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoInitialize the security object.
Evan Broder [Sun, 21 Dec 2008 20:37:31 +0000 (14:37 -0600)] 
Initialize the security object.

This is where we determine whether to use authentication and encryption.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoI can get tokens now!
Evan Broder [Sun, 21 Dec 2008 20:10:24 +0000 (14:10 -0600)] 
I can get tokens now!

Not that I do anything with them yet.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoGet information about the current cell.
Evan Broder [Sun, 21 Dec 2008 19:01:43 +0000 (13:01 -0600)] 
Get information about the current cell.

This will almost certainly want to get pulled out into some utility
functions eventually.

Also, we now have 3 different error mechanisms: arbitrary return
codes, errno/strerror, and com_err. Yay!

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd a comment explaining the ubik_client struct.
Evan Broder [Sun, 21 Dec 2008 10:36:44 +0000 (04:36 -0600)] 
Add a comment explaining the ubik_client struct.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoCleanup the mess we make.
Evan Broder [Sun, 21 Dec 2008 10:33:25 +0000 (04:33 -0600)] 
Cleanup the mess we make.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoAdd some development documentation.
Evan Broder [Sun, 21 Dec 2008 10:11:30 +0000 (04:11 -0600)] 
Add some development documentation.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoIt'll probably be useful to have the libraries being used in a separate list.
Evan Broder [Sun, 21 Dec 2008 10:07:16 +0000 (04:07 -0600)] 
It'll probably be useful to have the libraries being used in a separate list.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoMIT License? Did I say MIT License? I meant GPL.
Evan Broder [Sun, 21 Dec 2008 09:22:42 +0000 (03:22 -0600)] 
MIT License? Did I say MIT License? I meant GPL.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoPull includes into a common file, since there will be a bunch of them.
Evan Broder [Sun, 21 Dec 2008 09:15:23 +0000 (03:15 -0600)] 
Pull includes into a common file, since there will be a bunch of them.

Signed-off-by: Evan Broder <broder@mit.edu>

15 years agoInitial commit of something that builds.
Evan Broder [Sun, 21 Dec 2008 08:55:41 +0000 (02:55 -0600)] 
Initial commit of something that builds.

Signed-off-by: Evan Broder <broder@mit.edu>