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.

  • 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


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.2.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

python_freeipa-0.2.1-py2-none-any.whl (7.7 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for python-freeipa-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cc69ab3cfe862a2985d63cd36fd0182fa159864fc703b1457f4bb47a53872e98
MD5 9e92b5083810d94676b7e40b9dc9008e
BLAKE2b-256 31034d6b831a5385c35698323bf8263a64879f315fd803f17667fb104939f377

See more details on using hashes here.

File details

Details for the file python_freeipa-0.2.1-py2-none-any.whl.

File metadata

File hashes

Hashes for python_freeipa-0.2.1-py2-none-any.whl
Algorithm Hash digest
SHA256 5732118f8e3b79c70cff7747c1683df10bc5af992779320cabeb38f3d73137b4
MD5 298ecd9778e7915a353223dba1c1d661
BLAKE2b-256 415bca720e9f5c94d4b2ad27e3698cc5a14347b38601652487b4954e49e1e6f2

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