summaryrefslogtreecommitdiffstats
path: root/ipa-python
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup freeipa-python requiresMark McLoughlin2008-02-212-8/+2
| | | | | | | | | | | | | | | | We don't need the elaborate python requires, since a requires for e.g. "python-abi = 2.5" is automatically added. We also don't need the elaborate build requires, since all it does is query the currently installed version of python and require that you have it's appropriate python-devel installed. But if python-devel is installed at all, this should hold true. (Also, IMHO the .spec files should be removed from mercurial since they are automatically generated) Signed-off-by: Mark McLouglin <markmc@redhat.com>
* Add an LDAP attribute -> label mapping function to XML-RPC layerRob Crittenden2007-10-223-0/+44
| | | | Move some ACI functions around in preparation for cli delegation
* Remove dependency between ipa-pyton and ipa-serverKarl MacMillan2007-10-191-8/+5
| | | | | | | Current ipa-python imports and calls code from ipaserver (which is in the ipa-server package). This makes it impossible to use the admin tools or the ipa-python package on a system without the server bits installed. This fixes that in a fairly minimal way.
* Finish the email autosuggest.Kevin McCarthy2007-10-182-1/+24
| | | | | 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-192-2/+2
|
* Make distclean work againRob Crittenden2007-10-191-2/+2
|
* Fix build issues by combining patches submitted by Michael Gregg andRob Crittenden2007-10-179-38/+46
| | | | | Karl MacMillan Remove #!/usr/bin/python from many files to quiet rpmlint
* Use setup.py for ipa-python from William Jon McCann <mccann@jhu.edu>.Karl MacMillan2007-10-164-34/+97
|
* Add basic delegation editing.Kevin McCarthy2007-10-151-0/+15
|
* Creates an update_entry api call, aliases update_user and update_group to it.Kevin McCarthy2007-10-152-0/+20
|
* Adds delegation listing and creation to the GUI.Kevin McCarthy2007-10-124-8/+65
|
* This is a really simple (and dumb) ACI parser for the ACI's weKevin McCarthy2007-10-112-0/+211
| | | | will need in the delegation UI.
* Combine get_user/group by dn/cn into get_entry_by_cn/dn.Kevin McCarthy2007-10-092-61/+44
| | | | Also a couple double-escaping fixes I missed in the last patch.
* Fixes none values in first/last name to display properly.Kevin McCarthy2007-10-041-2/+2
|
* Trickle the group_cn to group_dn down the layers. Fix controller calls.Kevin McCarthy2007-10-032-32/+32
|
* Try to catch more error conditions during installationrcritten@redhat.com2007-10-031-0/+5
| | | | | | Modify the way we detect SELinux to use selinuxenabled instead of using a try/except. Handle SASL/GSSAPI authentication failures when getting a connection
* Patch to fix the installer crashing if selinux is disabled. Also changesmccann@jhu.edu2007-10-021-1/+1
| | | | | | | the exception to contain the complete command. Add a check to make sure installer is running as root. Add signal handler to detect a user-cancelled installation. Detect existing DS instances and prompt to remove them.
* Do group operations based on the group DN, not the CNrcritten@redhat.com2007-10-021-1/+16
| | | | | Add new class of errors for connections Raise an exception if a connection cannot be made due to missing ccache
* Rely more on kerberos.Simo Sorce2007-10-012-16/+32
| | | | | | | 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-282-0/+45
| | | | Added a couple more API calls to make the inverse operations easier.
* Make timelimit a parameter to the find methods.Kevin McCarthy2007-09-272-8/+8
|
* Install the web guiKarl MacMillan2007-09-281-1/+2
| | | | | | | | | | | | | | | | | | | Install the turbogears web gui including an init script. This patch includes a few related changes: * create a production configuration * rename the web gui startup scrip to ipa-webgui * add an init script * chkconfig on the ipa-webgui init script * make the start script properly daemonize the app when not in a development directory. * Install everything to the correct places (/usr/sbin/ipa-webgui and /usr/share/ipa/ipagui mainly). There are some things still left to do: * Sort out the logging - the config needs to be adjusted so that logging messages end up in /var/log.
* Misc small fixesKarl MacMillan2007-09-281-1/+1
| | | | | | | * Remove the rpmbuild tree with the dist-clean target. * Move ipa-server-setupssl from /usr/sbin to /usr/share/ipa * Check in requirement change for generated freeipa-python.spec * Fix interactive hostname in ipa-server-install.
* Adds methods to manipulate groups by dns.Kevin McCarthy2007-09-262-43/+113
| | | | | 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-252-0/+26
| | | | 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-0/+26
|
* Give ipa-adduser, ipa-addgroup and ipa-usermod an interactive modercritten@redhat.com2007-09-213-1/+170
| | | | | | | Add ipa-passwd tool Add simple field validation package This patch adds a package requirement, python-krbV. This is needed to determine the current user based on their kerberos ticket.
* Merge conflicts between rob and kevin patchesSimo Sorce2007-09-202-10/+21
|\
| * Implement asynchronous search for groups.Kevin McCarthy2007-09-192-6/+7
| | | | | | | | Use the filter generation code to search on multiple fields.
| * Add client-side search limit parameter for user search.Kevin McCarthy2007-09-182-4/+4
| | | | | | | | | | 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-112-10/+23
|/ | | | Remove some unused calls to retrieve the current realm
* In the TCP case there is an extra (redundant) lenghtSimo Sorce2007-09-121-2/+2
| | | | field before the packet data, address the problem.
* Reset version numbers for next milestone.Karl MacMillan2007-09-101-1/+1
|
* Update version numbers for release.milestone_3Karl MacMillan2007-09-101-1/+1
|
* Generalized Time parser and tests, for use in krbPasswordExpirationKevin McCarthy2007-09-042-0/+195
|
* merge ipa-server/ipaserver/util.py into ipa-python/ipautil.pySimo Sorce2007-09-041-0/+62
| | | | this way freeipa-client does not depend on freeipa-server
* Add 'test' target to makefiles. Hook up ipautil tests to run.Kevin McCarthy2007-09-042-2/+15
|
* Fix python-ldap attribution for cidict.Kevin McCarthy2007-08-271-2/+3
|
* Change user search to be asynchronous.Kevin McCarthy2007-08-282-6/+9
| | | | | | 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-282-3/+62
| | | | | | 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-284-49/+112
| | | | | | | | 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.
* Fix minor error in previous patch.Karl MacMillan2007-08-281-1/+1
|
* Add ipautil, which contains CIDict - a case insensitive dict.Kevin McCarthy2007-08-242-0/+315
| | | | | | This version of the cidict extends the dict class, which allows it to play nicely with turbogears. Also includes extensive tests.
* Initial support for Groupsrcritten@redhat.com2007-08-246-173/+428
| | | | | | | | | 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-233-19/+44
| | | | | | | | | | | | | | | | | 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-7/+134
| | | | | | Move LDAPError trapping/conversion into the ipaldap module. Fix xmlrpc layer to encode/decode ipaerrors properly. Also, implement mid-air collision exception for updates.
* Convert add_user to take a user instead of a dict.Kevin McCarthy2007-08-202-14/+17
|
* Move utf-8 conversion inside user.py (for updates).Kevin McCarthy2007-08-201-2/+13
|