[Freeipa-devel] xml-rpc functions

Simo Sorce ssorce at redhat.com
Wed Aug 1 21:28:03 UTC 2007


On Wed, 2007-08-01 at 14:54 -0400, Rob Crittenden wrote:
> I think it would be helpful to identify all the major functions that the 
> xml-rpc protocol will support.
> 
> Off the top of my head I have:
> 
> - add user
> - retrieve user by uid
> - modify user
> - search for a user
> - retrieve all users (could be a "*" of search for a user)
> - remove user (deactivate)
> 
> - get list of groups

can we remove this and instead implement group search, which can also do
a search for *, but I want to discourage the practice of just listing
all users/groups at all costs, it usually ends up being used in
interfaces and break horribly as soon as you pass the few thousands
objects mark (not to talk about trusts and trying to lists users/groups
from other realms in future)

> - get group by id
> - modify group
> - add user(s) to group
> - remove user(s) from group
> - remove group
> 
> - change password
> 
> When doing a modify I wonder what we'll be sending. All attributes, just 
> those modified, something else?

I'd send just those modified, sending back and forth a 4MB image
embedded in the jpegPhoto attribute for nothing seem a bit overkill ...

Simo.




More information about the Freeipa-devel mailing list