Skip to main content

PP's FreeIPA Module

Project description

PP’s FreeIPA Module

PyPI package: ppipa

If you spot any problems or have any improvement ideas then feel free to open an issue and I will be glad to look into it for you.

Installation

A recommended way of installing the tool is pip install.

pip install

The tool is available in PyPI and can be installed using pip:

$ pip install --user ppipa

Usage

from ppipa import FreeIPAServer

ipa = FreeIPAServer(host='ipa01.example.com', bindpw='password')

users = ipa.find_users_by_email(email='first.last@example.com')
n = len(users)

user = ipa.users().get('first.last')
cn = user.cn
is_ldap_group_member = user.is_member_of('ldap_group')

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

ppipa-1.0.6.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distribution

ppipa-1.0.6-py2.py3-none-any.whl (17.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page