summaryrefslogtreecommitdiffstats
path: root/ipa-python/ipaclient.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge conflicts between rob and kevin patchesSimo Sorce2007-09-201-6/+17
|\
| * Implement asynchronous search for groups.Kevin McCarthy2007-09-191-4/+5
| | | | | | | | 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.
* | Use ticket forwarding with TurboGears. mod_proxy forwards the principalrcritten@redhat.com2007-09-141-0/+6
| | | | | | | | | | | | name and location of the keytab. In order for this keytab to be usable TurboGears and Apache will need to run as the same user. We will also need to listen only on localhost in TG.
* | Add function to allow user's to set/reset their kerberos passwordrcritten@redhat.com2007-09-111-10/+7
|/ | | | Remove some unused calls to retrieve the current realm
* Change user search to be asynchronous.Kevin McCarthy2007-08-281-4/+6
| | | | | | 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-3/+21
| | | | | | 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-11/+3
| | | | | | | | 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-6/+96
| | | | | | | | | 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
* Move add user logic to the server sidercritten@redhat.com2007-08-231-17/+1
|
* Handle optional arguments by using the value __NONE__ over XML-RPC.rcritten@redhat.com2007-08-231-6/+12
| | | | | | | | | | | | | | | | | 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
* Convert add_user to take a user instead of a dict.Kevin McCarthy2007-08-201-13/+16
|
* Embed origiginal values inside user, and have update_user pass in a userKevin McCarthy2007-08-201-5/+3
| | | | | object. Based on rcrit's original patch. Push scalar to list value conversion inside funcs.py.
* Manual merge changes in for the cidict/ipaclient add_user()Kevin McCarthy2007-08-171-2/+12
|
* Revert incorrect fix.Karl MacMillan2007-08-171-1/+1
|
* Fix small typo in ipaclient.Karl MacMillan2007-08-171-1/+1
|
* Add update user to gui.Kevin McCarthy2007-08-161-6/+6
| | | | | | Fix fields to be lowercase in web gui (server now returns them lowercase). Fix ipaclient.py to refer to lowercase fields when adding a user. Fix user.getValue() to check isinstance(value,list) instead of value[0].
* Implement user inactivationrcritten@redhat.com2007-08-171-6/+27
| | | | | Comment some functions Add attribute argument to get_user()
* Ensure that the Apache server is in forked modercritten@redhat.com2007-08-141-0/+6
| | | | | Add ability to update existing users Try to prevent fetching and setting empty strings
* Basic LDAP connection poolingrcritten@redhat.com2007-08-131-0/+11
| | | | Implement user search
* - Abstracted client class to work directly or over RPCrcritten@redhat.com2007-08-061-0/+87
- 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