Lightweight FreeIPA client
Project description
python-freeipa is lightweight FreeIPA client.
Features
Login to FreeIPA server using username and password.
Search for users.
Display information about a user.
Add, modify and delete a user.
Get lockout status of a user account.
Enable and disable a user account.
Search for groups.
Display information about a named group.
Add, modify and delete a group.
Add members to a group.
Remove members from a group.
Change user password.
Add, modify and delete automount locations, maps and keys.
Dependencies
The only dependency is Python Requests library (http://docs.python-requests.org/)
See also API documentation: https://ipa.demo1.freeipa.org/ipa/ui/#/p/apibrowser/
Installation
Install python-freeipa in development mode along with dependencies:
pip install -e .[tests]
Run tests suite:
python setup.py test
Example usage
from python_freeipa import Client
client = Client('ipa.demo1.freeipa.org', version='2.215')
client.login('admin', 'Secret123')
user = client.user_add('test3', 'John', 'Doe', 'John Doe', preferred_language='EN')
print user
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-freeipa-0.2.0.tar.gz
.
File metadata
- Download URL: python-freeipa-0.2.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11200b8a8f0477a8fb8bafce7590c12edcf427c0d9bf9d10253171306945c99f |
|
MD5 | ba5acc5323b881cc1c7e837785a6fbba |
|
BLAKE2b-256 | 2805c63d6c04cbe30f99e338cb4a73538aba95c85ab4458e3b59137ecbbe4143 |