summaryrefslogtreecommitdiffstats
path: root/ipa-server/xmlrpc-server
Commit message (Collapse)AuthorAgeFilesLines
* patch queue: add_filters.patchKevin McCarthy2007-09-271-0/+3
|
* Make timelimit a parameter to the find methods.Kevin McCarthy2007-09-271-8/+4
|
* Misc small fixes:Kevin McCarthy2007-09-251-5/+25
| | | | | | | | | | - Members of groups are clickable - Combine name and uid into a single column in find users - Remove license plate from searching - Mailto links on user emails - Add timelimit to finds. This is experimental... - Fix usersearch to only search on objectClass=Person - Change search to use get parameter
* Adds methods to manipulate groups by dns.Kevin McCarthy2007-09-262-40/+100
| | | | | Renamed some of the user_group parameters to be self-evident. Binary wrapping isn't necessary on strings, so removed from xmlrpc calls.
* Fix a couple of XML-RPC functions that were missing the opts argumentrcritten@redhat.com2007-09-263-4/+67
| | | | Include a kerberized XML-RPC client that will list the XML-RPC API
* Adds manager and direct reports to usershow page.Kevin McCarthy2007-09-252-2/+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-252-2/+26
|
* Use a different directory for test programsrcritten@redhat.com2007-09-252-3/+4
|
* Make doing basic testing of Kerberos ticket forwarding and system setuprcritten@redhat.com2007-09-254-12/+203
| | | | easier.
* Fix error when using with TurboGearsrcritten@redhat.com2007-09-251-2/+3
|
* Install the error web pagesrcritten@redhat.com2007-09-241-0/+2
|
* Show (hopefully) useful information if the Kerberos connection fails.rcritten@redhat.com2007-09-243-0/+86
|
* Print the request environment for debugging purposes.rcritten@redhat.com2007-09-241-0/+11
|
* Enable LDAP debugging using the mod_python Apache configuration directivercritten@redhat.com2007-09-213-8/+17
| | | | PythonOption IPADebug On/Off
* Don't fall back on proxy authentication. We don't generate the certificatesrcritten@redhat.com2007-09-241-4/+7
| | | | anymore and that failure just causes more confusion.
* Merge conflicts between rob and kevin patchesSimo Sorce2007-09-201-13/+60
|\
| * Handle add/remove failures a little bit better.Kevin McCarthy2007-09-191-2/+2
| | | | | | | | | | Still some refinements that can be done, but at least it shows the failures now.
| * Implement asynchronous search for groups.Kevin McCarthy2007-09-191-8/+55
| | | | | | | | Use the filter generation code to search on multiple fields.
| * Add client-side search limit parameter for user search.Kevin McCarthy2007-09-181-3/+3
| | | | | | | | | | Limit editgroup user ajax search. Minor UI cleanup for editgroup.
* | Use ticket forwarding with TurboGears. mod_proxy forwards the principalrcritten@redhat.com2007-09-143-21/+24
| | | | | | | | | | | | 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-112-0/+19
|/ | | | Remove some unused calls to retrieve the current realm
* Enable mod_proxy to sit in front of TurboGears and pass along thercritten2007-09-101-2/+34
| | | | | | | | | | kerberos principal name Add an identity an visit class to TurboGears that can handle the user without requiring a database Update the UI to show the user correctly. Note that this is currently disabled. It is hardcoded to always return the principal test@FREEIPA.ORG in proxyprovider.py It doesn't handle an unauthorized request because that can never happen.
* small release fixes:Kevin McCarthy2007-09-071-1/+1
| | | | | - Make password not required for add person - Fix for searching on '*' or ''
* Enable LDAP SASL authentication using a forwarded kerberos ticketrcritten@redhat.com2007-09-052-121/+128
| | | | | | Handle both SASL auth and proxied authentication Refactor LDAP connection code to be simpler Other small bug fixes
* merge ipa-server/ipaserver/util.py into ipa-python/ipautil.pySimo Sorce2007-09-041-2/+2
| | | | this way freeipa-client does not depend on freeipa-server
* Merge with upstreamSimo Sorce2007-09-041-2/+0
|\
| * Add account deactivation checkbox.Kevin McCarthy2007-08-311-2/+0
| | | | | | | | Fix genModList to lowercase all keys and use CIDict.
* | Megre in form upstreamSimo Sorce2007-08-302-13/+101
|\|
| * Change user search to be asynchronous.Kevin McCarthy2007-08-281-8/+18
| | | | | | | | | | | | 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.
| * Changes for larger data demo.Kevin McCarthy2007-08-281-1/+1
| | | | | | | | | | | | Add fields to search results Put result() call inside try block - it's throwing an exception Trap ADMINLIMIT and SIZELIMIT exceptions
| * Implement delete users and groupsrcritten@redhat.com2007-08-282-4/+82
| | | | | | | | | | | | Implement adding a group to a group Some other small fixups Add new cmd-line tool ipa-delgroup
* | Finalize DIT, this is waht we are probably going to have in the end,Simo Sorce2007-08-291-2/+2
|/ | | | | | | | or something very close to this one Add default groups and admin user TODO: need to discuss more in deep uid/gid generation, this will probably change as soon as the DNA plugin is activated
* This patch wraps binary data in an xmlrpclib Binary object. ThisKarl MacMillan2007-08-282-31/+14
| | | | | | | | 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.
* Enhanced user search:Kevin McCarthy2007-08-271-24/+93
| | | | | | | | | | - "configurable" fields to search on - tokenize search words - prioritize exact matches over partial matches - split match filter generation into a re-usable function. Other updates: - use finally block to return ldap connections - update web gui to use new get_user methods
* Fix minor error in previous patch.Karl MacMillan2007-08-281-1/+1
|
* Include any LDAP error strings in XML-RPC Fault exceptionsrcritten@redhat.com2007-08-272-5/+10
| | | | Put a try/except around attempts to determine user uniqueness
* Initial support for Groupsrcritten@redhat.com2007-08-242-55/+302
| | | | | | | | | 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-0/+28
|
* Handle optional arguments by using the value __NONE__ over XML-RPC.rcritten@redhat.com2007-08-232-84/+47
| | | | | | | | | | | | | | | | | 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-222-98/+42
| | | | | | Move LDAPError trapping/conversion into the ipaldap module. Fix xmlrpc layer to encode/decode ipaerrors properly. Also, implement mid-air collision exception for updates.
* Move ldap search filter escaping into the funcs.py layer.Kevin McCarthy2007-08-211-1/+26
|
* Escape search input. Search by uid and cn.Kevin McCarthy2007-08-201-1/+1
|
* Embed origiginal values inside user, and have update_user pass in a userKevin McCarthy2007-08-201-0/+14
| | | | | object. Based on rcrit's original patch. Push scalar to list value conversion inside funcs.py.
* change strings to be encoded using value.encode("utf-8").Kevin McCarthy2007-08-171-2/+2
| | | | | fix update to set 'cn' instead of 'sn'. remove str() in funcs.add_user().
* Manual merge changes in for the cidict/ipaclient add_user()Kevin McCarthy2007-08-171-1/+18
|
* Change userlist into a quick search form.Kevin McCarthy2007-08-171-1/+2
| | | | | Add hack to update cn using givenname+sn (for now). Change funcs.find_users() to not error if no results.
* Implement user inactivationrcritten@redhat.com2007-08-172-3/+59
| | | | | Comment some functions Add attribute argument to get_user()
* Ensure that the Apache server is in forked modercritten@redhat.com2007-08-142-0/+53
| | | | | Add ability to update existing users Try to prevent fetching and setting empty strings
* Patch from Rob to quick fix an error in the previous oneSimo Sorce2007-08-161-1/+1
|
* Basic LDAP connection poolingrcritten@redhat.com2007-08-132-5/+105
| | | | Implement user search