summaryrefslogtreecommitdiffstats
path: root/ipaserver/rpcserver.py
Commit message (Collapse)AuthorAgeFilesLines
* Log each command in a batch separately.Rob Crittenden2011-08-191-1/+6
| | | | | | | This also fixes command logging in general, it wasn't working in most cases as a regression in ticket 1322. https://fedorahosted.org/freeipa/ticket/1598
* Don't let a JSON error get lost in cascading errors.Rob Crittenden2011-06-151-5/+6
| | | | | | | If a JSON decoding error was found we were still trying to call the XML-RPC function, losing the original error. https://fedorahosted.org/freeipa/ticket/1322
* Test for forwarded Kerberos credentials cache in wsgi code.Rob Crittenden2011-05-181-1/+3
| | | | | | | | | We should more gracefully handle if the TGT has not been forwarded than returning a 500 error. Also catch and display KerberosErrors from ping() in the client better. ticket 1101
* Fix uninitialized attributes.Jan Cholasta2011-04-211-0/+1
|
* Send Accept-Language header over XML-RPC and translate on server.Pavel Zuna2011-03-011-4/+10
| | | | | Fix #904 Fix #917
* Add default success/failure output logging.Rob Crittenden2011-02-141-4/+9
| | | | | | | | | | Request logging on the server only happened if you added verbose=True or debug=True to the IPA config file. We should log the basics at least: who, what, result. Move a lot of entries from info to debug logging as well. Related to ticket 873
* Convert json strings to unicode when they are unmarshalled.Rob Crittenden2011-02-111-2/+11
| | | | | | | | | This patch removes some individual work-arounds of converting strings to unicode, they only masked the problem. String values are not passed to the validator or normalizers so things like adding the realm automatically to services weren't happening. ticket 941
* Don't include error.kw in the error response in the JSON server.Rob Crittenden2011-02-111-1/+0
| | | | | | | This can include a full exception which cannot be marshalled. This value contains duplicate information and isn't used by the client. ticket 905
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* language as a listAdam Young2010-09-211-1/+3
| | | | Now parsing the list of languages set in the http header, and selecting the first. Handles weighting as well.
* I18N of RPCAdam Young2010-09-201-1/+6
| | | | | | Uses the HTTP header to perform set the LANG environment variable in Python, used for the gettext translations Author: adam <ayoung@redhat.com>
* Use the certificate subject base in IPA when requesting certs in certmonger.Rob Crittenden2010-04-231-1/+2
| | | | | | | | | | | | | | | | | When using the dogtag CA we can control what the subject of an issued certificate is regardless of what is in the CSR, we just use the CN value. The selfsign CA does not have this capability. The subject format must match the configured format or certificate requests are rejected. The default format is CN=%s,O=IPA. certmonger by default issues requests with just CN so all requests would fail if using the selfsign CA. This subject base is stored in cn=ipaconfig so we can just fetch that value in the enrollment process and pass it to certmonger to request the right thing. Note that this also fixes ipa-join to work with the new argument passing mechanism.
* XML-RPC signature changeJason Gerard DeRose2010-03-301-4/+3
|
* Log some information on the result of a requestRob Crittenden2010-03-301-0/+2
|
* Fix JSON binary encode and decode errorsJohn Dennis2010-03-041-2/+99
| | | | | | | | | Traverse the objects passed to JSON for encoding and decoding. When binary data is seen during encode replace the binary data with a dict {'__base64__' : base64_encoding_of_binary_value}. On decode if a dict is seen whose single key is '__base64__' replace that dict with the base64 decoded value of the key's value.
* Consolidate to single WSGI entry pointJason Gerard DeRose2010-03-011-32/+117
|
* Enabled CRUDS in webUI using wehjit 0.2.0Jason Gerard DeRose2010-01-261-0/+1
|
* Remove some left-over debugging statementsRob Crittenden2009-12-161-3/+0
|
* Take 2: Extensible return values and validation; steps toward a single ↵Jason Gerard DeRose2009-12-101-1/+4
| | | | output_for_cli(); enable more webUI stuff
* Add mod_python adapter and some UI tuningJason Gerard DeRose2009-10-271-0/+5
|
* First pass at enforcing certificates be requested from same hostRob Crittenden2009-10-211-2/+2
| | | | | | | | | | | | We want to only allow a machine to request a certificate for itself, not for other machines. I've added a new taksgroup which will allow this. The requesting IP is resolved and compared to the subject of the CSR to determine if they are the same host. The same is done with the service principal. Subject alt names are not queried yet. This does not yet grant machines actual permission to request certificates yet, that is still limited to the taskgroup request_certs.
* Fixed compatability break in rpcserver.pyJason Gerard DeRose2009-10-171-2/+2
|
* Fixed 'import json' for simplejson compatabilityJason Gerard DeRose2009-10-161-1/+1
|
* parse_qs is in cgi on Python < 2.6, use that insteadRob Crittenden2009-10-161-1/+1
| | | | | Python 2.6's cgi module calls the parse_qs in urlparse for backwards compatibility
* Fixed try/except/finally for Python 2.4 compatabilityJason Gerard DeRose2009-10-151-19/+20
|
* Giant webui patch take 2Jason Gerard DeRose2009-10-131-2/+191
|
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-231-1/+1
|
* Finished small tweaks to get new ipaserver.xmlrpc() mod_python handler workingJason Gerard DeRose2009-02-031-5/+5
|
* Started work on a much simplified mod_python serverJason Gerard DeRose2009-02-031-3/+23
|
* Got new ldap connection working using Connectible.connect()Jason Gerard DeRose2009-02-031-1/+2
|
* Ported xmlserver to subclass from ExecutionerJason Gerard DeRose2009-02-031-22/+8
|
* Removed depreciated import of errors in frontend.pyJason Gerard DeRose2009-02-031-1/+3
|
* More work on xmlrpc stuff, started migrated more code to use errors2 instead ↵Jason Gerard DeRose2009-02-031-4/+0
| | | | of errors
* More xmlrpc tweaks: xmlserver.execute() now logs non-public exceptions; ↵Jason Gerard DeRose2009-02-031-1/+4
| | | | xmlclient.forward() now handles socket error; fixed some Python 2.4 problems in lite-xmlrpc2.py
* Further migration toward new xmlrcp code; fixed problem with unicode ↵Jason Gerard DeRose2009-02-031-3/+9
| | | | Fault.faultString; fixed problem where ServerProxy method was not called correctly
* Added rpc.xmlclient backend plugin for forwarding; added corresponding unit ↵Jason Gerard DeRose2009-01-191-2/+0
| | | | tests
* New Param: fixed metavar bug in cli.pyJason Gerard DeRose2009-01-161-1/+5
|
* Added docstring cross-references between rpc and rpcserver modulesJason Gerard DeRose2009-01-161-0/+2
|
* rpcserver now uses xml_dumps() and xml_loads() functionsJason Gerard DeRose2009-01-161-14/+17
|
* Renamed ipaserver.rpc to ipaserver.rpcserverJason Gerard DeRose2009-01-161-0/+60