summaryrefslogtreecommitdiffstats
path: root/ipa-server/xmlrpc-server/funcs.py
Commit message (Collapse)AuthorAgeFilesLines
* 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-231-79/+35
| | | | | | | | | | | | | | | | | 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-96/+38
| | | | | | 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-171-3/+58
| | | | | Comment some functions Add attribute argument to get_user()
* Ensure that the Apache server is in forked modercritten@redhat.com2007-08-141-0/+47
| | | | | 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-131-5/+104
| | | | Implement user search
* Allow the API to specify the location in the tree to add users, defaultingrcritten@redhat.com2007-08-101-2/+2
| | | | to ou=users,ou=default,$basedn
* - Abstracted client class to work directly or over RPCrcritten@redhat.com2007-08-061-143/+196
| | | | | | | | | | | - 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
* Rename 'gn' to 'givenName'kmccarth@redhat.com2007-08-021-1/+1
|
* Add local-dist target.Karl MacMillan2007-08-011-2/+7
| | | | Remove hard-coded config.
* Fixed broken patches and server spec.Karl MacMillan2007-07-311-1/+1
|
* Final reorginzation to reflect packaging.Karl MacMillan2007-07-311-0/+170