summaryrefslogtreecommitdiffstats
path: root/ipa-python/rpcclient.py
Commit message (Collapse)AuthorAgeFilesLines
* Add memberOf API call to the XML-RPC interfaceRob Crittenden2007-10-301-0/+17
| | | | Make find-groups use memberOf to have a prettier dispaly of members
* Add delete user and group to webgui.Kevin McCarthy2007-10-231-3/+3
| | | | NOTE: this doesn't handle referential integrity.
* Add an LDAP attribute -> label mapping function to XML-RPC layerRob Crittenden2007-10-221-0/+13
| | | | Move some ACI functions around in preparation for cli delegation
* Finish the email autosuggest.Kevin McCarthy2007-10-181-1/+17
| | | | | For now I've added a new API call. The field-specific searching is a ways off.
* Require SSL for the XML-RPC interfaceRob Crittenden2007-10-191-1/+1
|
* Fix build issues by combining patches submitted by Michael Gregg andRob Crittenden2007-10-171-1/+0
| | | | | Karl MacMillan Remove #!/usr/bin/python from many files to quiet rpmlint
* Creates an update_entry api call, aliases update_user and update_group to it.Kevin McCarthy2007-10-151-0/+14
|
* Adds delegation listing and creation to the GUI.Kevin McCarthy2007-10-121-0/+17
|
* Combine get_user/group by dn/cn into get_entry_by_cn/dn.Kevin McCarthy2007-10-091-40/+27
| | | | Also a couple double-escaping fixes I missed in the last patch.
* Trickle the group_cn to group_dn down the layers. Fix controller calls.Kevin McCarthy2007-10-031-16/+16
|
* Rely more on kerberos.Simo Sorce2007-10-011-3/+19
| | | | | | | Don't read ipa.conf to get the realm, the kerberos libs do that for you. Use the krbPrincipalName to change passwords Make it possible to specify the principal at user creation. Mail is not a required attribute so far, don't require it.
* Add group management to the user edit page.Kevin McCarthy2007-09-281-0/+30
| | | | Added a couple more API calls to make the inverse operations easier.
* Make timelimit a parameter to the find methods.Kevin McCarthy2007-09-271-4/+4
|
* Adds methods to manipulate groups by dns.Kevin McCarthy2007-09-261-25/+71
| | | | | Renamed some of the user_group parameters to be self-evident. Binary wrapping isn't necessary on strings, so removed from xmlrpc calls.
* Adds manager and direct reports to usershow page.Kevin McCarthy2007-09-251-0/+17
| | | | Fixes a bug with the group by member where is wasn't trapping not found errors.
* Show the list of groups a user belongs to.Kevin McCarthy2007-09-251-0/+17
|
* Merge conflicts between rob and kevin patchesSimo Sorce2007-09-201-4/+4
|\
| * Implement asynchronous search for groups.Kevin McCarthy2007-09-191-2/+2
| | | | | | | | Use the filter generation code to search on multiple fields.
| * Add client-side search limit parameter for user search.Kevin McCarthy2007-09-181-2/+2
| | | | | | | | | | Limit editgroup user ajax search. Minor UI cleanup for editgroup.
* | Add function to allow user's to set/reset their kerberos passwordrcritten@redhat.com2007-09-111-0/+16
|/ | | | Remove some unused calls to retrieve the current realm
* Change user search to be asynchronous.Kevin McCarthy2007-08-281-2/+3
| | | | | | This way it returns results even if the search times out. The find_users() search now returns a counter as the first result, which is set to -1 if the results are partial.
* Implement delete users and groupsrcritten@redhat.com2007-08-281-0/+41
| | | | | | Implement adding a group to a group Some other small fixups Add new cmd-line tool ipa-delgroup
* This patch wraps binary data in an xmlrpclib Binary object. ThisKarl MacMillan2007-08-281-25/+34
| | | | | | | | removes the need for LDIF conversion. It will make TurboGears direct code faster, but should keep xmlrpc about the same speed. The patch also swaps out ldap.cidict for the IPA CIDict class. IPA code should only use the CIDict class now.
* Initial support for Groupsrcritten@redhat.com2007-08-241-16/+162
| | | | | | | | | Create separate object for Users and Groups (using same base class) Check for uniqueness before adding new users and groups Remove user_container from everything but add operations Abstract out a number of functions that are common across users and groups Make sure all strings passed in to be in a filter are checked Add new error message: No modifications specified
* Handle optional arguments by using the value __NONE__ over XML-RPC.rcritten@redhat.com2007-08-231-12/+31
| | | | | | | | | | | | | | | | | rpcclient.py must call XML-RPC functions with all arguments. Removed encode_args and decode_args. They were the source of most of the argument pain. Now opts is alwyas appended to the end of the arguments so MUST be the last argument in any server-side function (can be None) Allow the User object to handle unicode data Small fixes to command-line tools to be friendlier Broke out get_user() into get_user_by_dn() and get_user_by_uid() Need to request more than just 'nsAccountLock' attribute when trying to see if a user is already marked deleted. If it is blank the record coming back is empty. Add 'uid' to the list to guarantee something coming back (dn is handled specially) Added user_container attribute to get_user_* and add_user so the caller can specify where in the tree the user will be searched for/added. Added global default value for user_container
* Create ipaerror module.Kevin McCarthy2007-08-221-7/+8
| | | | | | Move LDAPError trapping/conversion into the ipaldap module. Fix xmlrpc layer to encode/decode ipaerrors properly. Also, implement mid-air collision exception for updates.
* Implement user inactivationrcritten@redhat.com2007-08-171-4/+26
| | | | | Comment some functions Add attribute argument to get_user()
* Ensure that the Apache server is in forked modercritten@redhat.com2007-08-141-2/+14
| | | | | Add ability to update existing users Try to prevent fetching and setting empty strings
* Basic LDAP connection poolingrcritten@redhat.com2007-08-131-0/+17
| | | | Implement user search
* - Abstracted client class to work directly or over RPCrcritten@redhat.com2007-08-061-66/+82
| | | | | | | | | | | - Add mod_auth_kerb and cyrus-sasl-gssapi to Requires - Remove references to admin server in ipa-server-setupssl - Generate a client certificate for the XML-RPC server to connect to LDAP with - Create a keytab for Apache - Create an ldif with a test user - Provide a certmap.conf for doing SSL client authentication - Update tools to use kerberos - Add User class
* Change server to not be global nor reused.kmccarth@redhat.com2007-08-021-9/+4
|
* Rename 'gn' to 'givenName'kmccarth@redhat.com2007-08-021-3/+1
|
* Add local-dist target.Karl MacMillan2007-08-011-7/+16
| | | | Remove hard-coded config.
* Final reorginzation to reflect packaging.Karl MacMillan2007-07-311-0/+102