Skip to main content

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.

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:

python setup.py develop

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-freeipa-0.1.1.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file python-freeipa-0.1.1.tar.gz.

File metadata

File hashes

Hashes for python-freeipa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a50b6050c5c2fbff24385636b6757328bf1ca5012f289a0faa50630653549019
MD5 57a74ffac8ea03e48ea9ec4a0dec8791
BLAKE2b-256 66aacd63010314607a6ee95214443d4bef3e1c94da3d9637dd84a9d68af15581

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page